【问题标题】:Internal Server Error for url: https://api.linkedin.com/v1/people/url 的内部服务器错误:https://api.linkedin.com/v1/people/
【发布时间】:2019-09-11 09:07:47
【问题描述】:

我在使用 LinkedIn 的 oauth2 后收到 500 个服务器错误

url: https://api.linkedin.com/v1/people/~:(email-address,first-name,formatted-name,id,last-name,picture-url,public-profile-url)?format=json

这里我使用了 python Django 框架和下面的包

*python-social-auth *social-auth-app-django *social-auth-core

我该如何解决这个问题?

【问题讨论】:

  • 你有python-social-auth 包吗?这已经被弃用了很长时间,social-auth-app-djangosocial-auth-core 应该足够了。你能分享整个追溯吗?
  • 谢谢,@omab,social-auth-app-django 使用 LinkedIn API v1,但自 5 月 1 日起,LinkedIn API v1 已弃用。所以我使用手动的方式对 LinkedIn v2 进行身份验证。

标签: python django linkedin-api python-social-auth django-socialauth


【解决方案1】:

在 LinkedIn API 文档中,有两种类型的授权权限被强调:会员授权和应用程序授权。 LinkedIn API

这里还有另一个问题,答案表明它可能是 OAuth 客户端要求的信息超出了允许的范围。 Related Question

所以 IMO 可能是关于您的应用程序权限的一些问题。

【讨论】:

    猜你喜欢
    • 2019-06-19
    • 2011-11-27
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-02-20
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多