Django implementation for Facebook Graph API Applications
Project description
# Django Facebook Graph API Applications
[![Build Status](https://travis-ci.org/ramusus/django-facebook-applications.png?branch=master)](https://travis-ci.org/ramusus/django-facebook-applications) [![Coverage Status](https://coveralls.io/repos/ramusus/django-facebook-applications/badge.png?branch=master)](https://coveralls.io/r/ramusus/django-facebook-applications)
Application for interacting with Facebook Graph API Applications objects using Django model interface
## Installation
pip install django-facebook-applications
Add into `settings.py` lines:
INSTALLED_APPS = (
...
'oauth_tokens',
'facebook_api',
'facebook_applications',
)
# oauth-tokens settings
OAUTH_TOKENS_HISTORY = True # to keep in DB expired access tokens
OAUTH_TOKENS_FACEBOOK_CLIENT_ID = '' # application ID
OAUTH_TOKENS_FACEBOOK_CLIENT_SECRET = '' # application secret key
OAUTH_TOKENS_FACEBOOK_SCOPE = ['offline_access'] # application scopes
OAUTH_TOKENS_FACEBOOK_USERNAME = '' # user login
OAUTH_TOKENS_FACEBOOK_PASSWORD = '' # user password
[![Build Status](https://travis-ci.org/ramusus/django-facebook-applications.png?branch=master)](https://travis-ci.org/ramusus/django-facebook-applications) [![Coverage Status](https://coveralls.io/repos/ramusus/django-facebook-applications/badge.png?branch=master)](https://coveralls.io/r/ramusus/django-facebook-applications)
Application for interacting with Facebook Graph API Applications objects using Django model interface
## Installation
pip install django-facebook-applications
Add into `settings.py` lines:
INSTALLED_APPS = (
...
'oauth_tokens',
'facebook_api',
'facebook_applications',
)
# oauth-tokens settings
OAUTH_TOKENS_HISTORY = True # to keep in DB expired access tokens
OAUTH_TOKENS_FACEBOOK_CLIENT_ID = '' # application ID
OAUTH_TOKENS_FACEBOOK_CLIENT_SECRET = '' # application secret key
OAUTH_TOKENS_FACEBOOK_SCOPE = ['offline_access'] # application scopes
OAUTH_TOKENS_FACEBOOK_USERNAME = '' # user login
OAUTH_TOKENS_FACEBOOK_PASSWORD = '' # user password
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-facebook-applications-0.1.0.tar.gz
.
File metadata
- Download URL: django-facebook-applications-0.1.0.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3ae18bde6cc8637840f5d2a68433f3b2ed84764236cc485372fc6089905e709 |
|
MD5 | df5d7721d05a07ac79734a45c6cc6ae7 |
|
BLAKE2b-256 | d0ac8d3572c37538227348dfadfffa623b9eacf227d98fe8334c1f4fd0b7a516 |