We've set up an application that uses the django-social-auth
extension to authenticate users with Facebook. The authentication works fine, but we are not clear on how to go about fetching useful information from Facebook (friends lists, likes, etc.)
It appears that django-facebook
handles some of this functionality, but also handles the authorization aspects. Is there an application that would sit neatly on top of django-social-auth
and provide a framework for using facebook data? Using django-social-auth
and django-facebook
together seems kludgy.
相关问题
- Django __str__ returned non-string (type NoneType)
- Django & Amazon SES SMTP. Cannot send email
- facebook error invalid key hash for some devices
- Django check user group permissions
- Django restrict pages to certain users
相关文章
- Profiling Django with PyCharm
- Why doesn't Django enforce my unique_together
- MultiValueDictKeyError in Django admin
- Facebook login for group members
- Django/Heroku: FATAL: too many connections for rol
- Django is sooo slow? errno 32 broken pipe? dcramer
- The method FB.api will stop working when called fr
- Django: Replacement for the default ManyToMany Wid
You might want to look into facepy. You could use the Facebook oAuth access token that django-social-auth saves in your database and make whichever Graph API calls your application is permitted to make for the given user.
It shouldn't be too hard to roll it yourself. The Facebook graph API is just HTTP get requests with the access_token, and it returns JSON data.