0

我在我的 django 应用程序中使用 social_auth 来使用 facebook 连接。我已按照文档(https://github.com/omab/django-social-auth)中给出的步骤进行操作。但我在访问额外信息时遇到了困难,例如“user_about_me”、“profile_pic”等。我可以在我的数据库列中看到访问令牌,但我在使用它时真的很吃力。

有人能帮我吗。

提前致谢 :)

4

1 回答 1

1

如果您需要的话,您将不得不为您的用户创建一个 Profile 模型以便存储额外的数据。使用令牌,您应该能够使用 Graph Api https://developers.facebook.com/docs/reference/api/user/django-social-auth 就是这样.. auth,而不是 facebook 应用程序。

于 2011-05-25T10:59:49.750 回答