开发者

What is the best way to get Facebook Connect going with a Django app? (Given the new data permissions.)

开发者 https://www.devze.com 2023-01-06 18:12 出处:网络
I\'m new to Django and trying to set up a Facebook connected site.There seem to be three available options at the moment:

I'm new to Django and trying to set up a Facebook connected site. There seem to be three available options at the moment:

  1. Use middleware with PyFacebook. I was able to get the django-facebookconnect app going fairly easily and mod it to suit my needs, but it is currently unclear whether PyFacebook even supports extended permissions / if PyFacebook is still even un开发者_高级运维der development?
  2. Do everything with javascript. Teebes' javascript only django-facebookconnect seems promising along with reviewing the updated facebook authentication guide
  3. Roll my own Python code a la Facebook's example

Can anyone point me in the right direction here? I plan to have users authenticate only through Facebook connect and then maintain dummy Django user accounts for each on the backend.

Thanks!


I plan to have users authenticate only through Facebook connect and then maintain dummy Django user accounts for each on the backend.

Seems you want exactly what http://github.com/flashingpumpkin/django-socialregistration does

0

精彩评论

暂无评论...
验证码 换一张
取 消