Simon Willison’s Weblog

Subscribe

Wednesday, 17th December 2008

Integrating Facebook Connect with Django in 15 minutes. Django authentication middleware that calls the Facebook REST API using a cookie set by Facebook Connect and checks if that person is your Facebook friend. Despite most of the magic happening on the server you still need Facebook’s JavaScript to set that cookie in the first place.

# 1:18 pm / cookies, django, facebook, facebookconnect, javascript, middleware

2008 » December

MTWTFSS
1234567
891011121314
15161718192021
22232425262728
293031