5 ms·
Django-facebook is the only one I know of that will support the Graph API right now: https://github.com/tschellenbach/Django-facebook https://github.com/tschell
by makuro 15y ago
Django-facebook is the only one I know of that will support the Graph API right now: https://github.com/tschellenbach/Django-facebook https://github.com/tschellenbach/Django-facebook
For just the fundaments:
Facebook's own SDK: https://github.com/facebook/python-sdk/blob/master/examples/oauth/facebookoauth.py https://github.com/facebook/python-sdk/blob/master/examples/...
or
Requests: http://docs.python-requests.org/en/latest/index.html http://docs.python-requests.org/en/latest/index.html
If you need more providers, there's also Django SocialAuth, but I'm not sure if it's updated for Facebook's OAuth 2 stuff yet.
- makuro 15y agoAlso, rather important note, if you are using (or see another library using) python-oauth2, note that that is _not_ providing OAuth 2.0 draft support. It implements OAuth version 1.0 (check the source: https://github.com/simplegeo/python-oauth2/blob/master/oauth2/__init__.py https://github.com/simplegeo/python-oauth2/blob/master/oauth... and search for "Blaine")