Re:Ask HN: What do you use for Django integration with Facebook
by dguaraglia on Wednesday October 05, 2011 @01:19AM
(#3074342)
I started using django-social-auth, but ended up rolling my own Facebook backend using the Facebook Python SDK. It's really simple if all you want to do is fetch some information and create a new user.
That said, django-social-auth should be more than enough if all you need is a way for a user to login using Facebook Connect.
For just the fundaments:
Facebook's own SDK: https://github.com/facebook/python-sdk/blob/master/examples/...
or
Requests: 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.
It implements OAuth version 1.0 (check the source: https://github.com/simplegeo/python-oauth2/blob/master/oauth... and search for "Blaine")
That said, django-social-auth should be more than enough if all you need is a way for a user to login using Facebook Connect.
I don't deal with the Graph API much so I can't comment on that aspect.