开发者

Accessing Extra-Date using social_auth for django

I am using social_auth in my django application to use facebook connect. I have followed steps which are given in the documentation (https://github.com/omab/django-social-auth). But I am struggling in accessing extra info such as 'user_about_m开发者_如何学Ce','profile_pic' etc. I am able to see the access token in my db column but I am really struggling in making use of it.

Can someone help me.

Thanks in advance :)


You will have to create a Profile model for your user in order to store additional data if thats what you need. With the token you should be able to make use of the Graph Api https://developers.facebook.com/docs/reference/api/user/ django-social-auth is just that.. auth, not a facebook app.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜