News for hackers. Stuff that matters.
Re:Ask HN: What do you use for Django integration with Facebook by makuro on Monday October 03, 2011 @05:38AM (#3065623)
Django-facebook is the only one I know of that will support the Graph API right now: https://github.com/tschellenbach/Django-facebook

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.

Re:Ask HN: What do you use for Django integration with Facebook by makuro on Monday October 03, 2011 @05:41AM (#3065628)
Also, 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/oauth... and search for "Blaine")

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.

Re:Ask HN: What do you use for Django integration with Facebook by VuongN on Monday October 03, 2011 @08:28AM (#3066006)
I like django-allauth a lot for all the social authentication integration: https://github.com/pennersr/django-allauth
Re:Ask HN: What do you use for Django integration with Facebook by emilepetrone on Monday October 03, 2011 @05:38AM (#3065622)
Re:Ask HN: What do you use for Django integration with Facebook by ericflo on Monday October 03, 2011 @05:47AM (#3065637)
I just write a little graph_fetch function, attach it to whatever model will hold the user's facebook_id and token, and that's pretty much it.
Re:Ask HN: What do you use for Django integration with Facebook by aljosamohorovic on Monday October 03, 2011 @06:00AM (#3065665)
Re:Ask HN: What do you use for Django integration with Facebook by kennethlove on Monday October 03, 2011 @11:34AM (#3066652)
django-social-auth is the best for doing Facebook authentication/account-creation.

I don't deal with the Graph API much so I can't comment on that aspect.