Skip to main content

Django implementation for Facebook Graph API Pages

Project description

Django Facebook Graph API Ads
=============================

[![PyPI version](https://badge.fury.io/py/django-facebook-ads.png)](http://badge.fury.io/py/django-facebook-ads) [![Build Status](https://travis-ci.org/ramusus/django-facebook-pages.png?branch=master)](https://travis-ci.org/ramusus/django-facebook-pages) [![Coverage Status](https://coveralls.io/repos/ramusus/django-facebook-pages/badge.png?branch=master)](https://coveralls.io/r/ramusus/django-facebook-pages)

Application for interacting with Facebook Graph API Pages objects using Django model interface

Installation
------------

pip install django-facebook-pages

Add into `settings.py` lines:

INSTALLED_APPS = (
...
'oauth_tokens',
'facebook_api',
'facebook_ads',
)

# 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
--------------

...

Licensing
---------

This library uses the [Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html).
Please see the library's individual files for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-facebook-pages-0.6.0.tar.gz (21.0 kB view details)

Uploaded Source

File details

Details for the file django-facebook-pages-0.6.0.tar.gz.

File metadata

File hashes

Hashes for django-facebook-pages-0.6.0.tar.gz
Algorithm Hash digest
SHA256 dd4c1368214418abb22edaee4d23c40a6e599d7d3b6a90f8a93acbb9f352ff53
MD5 67dfcf7e5565687d9eee7c101af3db51
BLAKE2b-256 d62db88cbdb2841ba9bf1f38cb19afd11ca7635ff24e9910c52297019ecbe60e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page