阅读背景:

如何访问使用django的社交身份验证生成的令牌?

来源:互联网 

I am using django's social_auth for facebook authentication. I am trying to access the token once a user is logged in using facebook so the app can do things like retrieve the user's friends and what is on his/her newsfeed. However, I am having trouble getting that token. Below is what I have. {{instance}} displays in the template but when I add {{token}} I get an error saying 'QuerySet' object has no attribute 'tokens'. How do I get the generated token? I am using django's social_auth for facebook au




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: