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.1.tar.gz (19.5 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-facebook-pages-0.6.1.tar.gz
Algorithm Hash digest
SHA256 d67d515744c649270b51d62f10edd81fc4168f28c52c263287dbfb761c3d31bd
MD5 de9dd1ffa316733a4ed5ae296a5b28b3
BLAKE2b-256 032227443b5fdd00719abac9c3acefb7afafb78c33dca7ad37c5332e5c3b9d01

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