19 2 / 2011

Ask Proudn00b: Adding Fb Connect Oath2 to Django

In preparation for Launch and SxSW, I am integrating Fb Connect to the site. There are two modules you can get pyfacebook & django-facebookconnect that will get you most of the way.

The one bug you’ll run into is how to test the authentication from your local machine. With Facebook, you add your URL in the application settings- that is different from your localhost. To trick it, follow Steve Lacy’s Local development setup for OAuth.

The final piece is adding the right authentication permissions. When the user clicks the connect button, it passes JS:

Does anyone know how to add in the permissions?