Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tschellenbach/Django-facebook
Facebook open graph api implementation using the Django web framework in python
https://github.com/tschellenbach/Django-facebook
Last synced: about 1 month ago
JSON representation
Facebook open graph api implementation using the Django web framework in python
- Host: GitHub
- URL: https://github.com/tschellenbach/Django-facebook
- Owner: tschellenbach
- License: other
- Created: 2010-05-05T10:00:50.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2021-11-28T03:00:31.000Z (about 3 years ago)
- Last Synced: 2024-10-29T15:35:06.396Z (about 1 month ago)
- Language: Python
- Homepage: http://www.mellowmorning.com/
- Size: 2.19 MB
- Stars: 1,425
- Watchers: 80
- Forks: 543
- Open Issues: 132
-
Metadata Files:
- Readme: README.rest
- License: LICENSE.txt
Awesome Lists containing this project
- starred-awesome - Django-facebook - Facebook open graph api implementation using the Django web framework in python (Python)
README
##############################################################################################
Django Facebook by Thierry Schellenbach (`mellowmorning.com `_)
##############################################################################################.. image:: https://secure.travis-ci.org/tschellenbach/Django-facebook.png?branch=master
:target: https://travis-ci.org/tschellenbach/Django-facebook.. image:: https://pypip.in/d/django-facebook/badge.png
:target: https://pypi.python.org/pypi/django-facebookStatus
-------
Django and Facebook are both rapidly changing at the moment. Meanwhile, I'm caught up in a startup and don't have much spare time.
The library needs a good round of testing against the latest python, django and facebook graph API.
Contributions are strongly appreciated. Seriously, give github a try, fork and get started :)News
----
* django-facebook will be dropping support for django < 1.8 since `django only supports `_ versions 1.8 and above.
Demo & About
------------Django Facebook enables your users to easily register using the Facebook API.
It converts the Facebook user data and creates regular User and Profile objects.
This makes it easy to integrate with your existing Django application.After registration Django Facebook gives you access to user's graph. Allowing for applications such as:
* Open graph/ Timeline functionality
* Seamless personalization
* Inviting friends
* Finding friends
* Posting to a users profileUpdates and tutorials can be found on my blog `mellowmorning `_
Features
--------* Access the Facebook API, from:
* Your website (Using javascript OAuth)
* Facebook canvas pages (For building facebook applications)
* Mobile (Or any other flow giving you a valid access token)
* Django User Registration (Convert Facebook user data into a user model)
* Store likes, friends and user data locally.
* Facebook FQL access
* OAuth 2.0 compliant
* Automated reauthentication (For expired tokens)
* Includes Open Facebook (stable and tested Python client to the graph API)Documentation
-------------**Basics**
* `Installation `_
* `Customizing `_
* `Settings `_
* `Registration backends & Redirects `_**Open Facebook API**
* `Getting an OpenFacebook object `_
* `Making calls `_**Advanced**
* `Mobile `_
* `Celery `_
* `Signals `_
* `Canvas `_Contributing and Running tests
------------------------------
Tests are run from within the example project. You
can run them yourself as follows:install from git
facebook_example/manage.py test django_facebook
**Vagrant**
A vagrant development setup is included in the GIT repo.
Assuming you have vagrant installed, simply type the following in your shell:::
# First get a fresh Django-Facebook checkout
git clone [email protected]:tschellenbach/Django-facebook.git django-facebook# Go to the directory:
cd django-facebook# Time to start Vagrant (grab a cup of coffee after this command, it'll take a while) :)
vagrant up; vagrant provision# Finally done?
vagrant ssh
python manage.py runserver 0:8000To have a working Django Facebook example up and running at 192.168.50.42:8000/facebook/example/.
For the facebook login to work simply map that ip to vagrant.mellowmorning.com
(Since Facebook checks the domain)You can run the test suite by typing:
::
python manage.py test django_facebook