Django implementation for Facebook Graph API Photos and Albums
Project description
# Django Facebook Graph API Photos
[![PyPI version](https://badge.fury.io/py/django-facebook-photos.png)](http://badge.fury.io/py/django-facebook-photos) [![Build Status](https://travis-ci.org/ramusus/django-facebook-photos.png?branch=master)](https://travis-ci.org/ramusus/django-facebook-photos) [![Coverage Status](https://coveralls.io/repos/ramusus/django-facebook-photos/badge.png?branch=master)](https://coveralls.io/r/ramusus/django-facebook-photos)
Application for interacting with Facebook Graph API Comments objects using Django model interface
## Installation
pip install django-facebook-photos
Add into `settings.py` lines:
INSTALLED_APPS = (
...
'oauth_tokens',
'facebook_api',
'facebook_users',
'facebook_photos',
)
# 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
## Usage examples
[![PyPI version](https://badge.fury.io/py/django-facebook-photos.png)](http://badge.fury.io/py/django-facebook-photos) [![Build Status](https://travis-ci.org/ramusus/django-facebook-photos.png?branch=master)](https://travis-ci.org/ramusus/django-facebook-photos) [![Coverage Status](https://coveralls.io/repos/ramusus/django-facebook-photos/badge.png?branch=master)](https://coveralls.io/r/ramusus/django-facebook-photos)
Application for interacting with Facebook Graph API Comments objects using Django model interface
## Installation
pip install django-facebook-photos
Add into `settings.py` lines:
INSTALLED_APPS = (
...
'oauth_tokens',
'facebook_api',
'facebook_users',
'facebook_photos',
)
# 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
## Usage examples
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-photos-0.5.2.tar.gz
.
File metadata
- Download URL: django-facebook-photos-0.5.2.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1acec69cc4261fc70d9e3828f1a6dfd917c5af37ba053f71852b36e8f4084e54 |
|
MD5 | 8cacb50330e8232d7b04d28d137a6681 |
|
BLAKE2b-256 | 02534e6c6d066712fe3e3b6fecd60c5638c255fac8075cce965340ed9d65be06 |