oauth.io linkedin 给出 403 错误,当相同的代码用于正常工作时
oauth.io linkedin gives 403 error, when the same code used to work fine
看起来 Linkedin 或 oauth.io 最近改变了一些东西。
以前连接正常,现在出现 403 错误。
还在 oauth.io 网站上检查了我的应用程序设置,尝试使用 "Try Oauth" 按钮连接时出现同样的错误:
Connection failed with linkedin
We received an error while we were trying to authorize you. It can come from your API Keys or your provider app settings.
This error was returned by the server:
Error during the 'request_token' step (HTTP status code: 403)
Linkedin App 界面好像变了:
- 重新进入白名单
- 重新进入 oauth 2.0 link
- 重新输入我的信息等。看起来设置正确
- 此设置直到最近才有效
这是代码:
OAuth.initialize('xxxxx');
OAuth.popup('linkedin')
.done(function(result) {
console.log("Connecting to Linkedin");
result.me()
.done(function (response) {
//
})
.fail(function (err) {
alert("Problem connecting to Linkedin: " + err);
});
})
.fail(function (err) {
alert("Problem connecting to Linkedin: " + err);
});
有什么想法吗?
在 oauth.io
:
的帮助下找到了答案
检查此 link:https://developer.linkedin.com/support/developer-program-transition
Linkedin 对其 API 进行了一些更改,如果您使用 r_fullprofile
或 r_contactinfo
权限而未申请 [=22],可能会导致 403 错误=]edin 公司 API.
2015 年 2 月 12 日,LinkedIn 宣布了对其开发人员计划的一系列更改。这些更改现已开始生效,并将在 2015 年 5 月 12 日至 5 月 19 日期间推广到整个 LinkedIn 应用程序库。
请阅读以下网址
https://developer.linkedin.com/support/developer-program-transition
https://developer.linkedin.com/docs/apply-with-linkedin
注意- 如果您请求 r_fullprofile
或 r_contactinfo
许可,那么您必须阅读申请链接的条款和条件-在页面中。
看起来 Linkedin 或 oauth.io 最近改变了一些东西。
以前连接正常,现在出现 403 错误。
还在 oauth.io 网站上检查了我的应用程序设置,尝试使用 "Try Oauth" 按钮连接时出现同样的错误:
Connection failed with linkedin
We received an error while we were trying to authorize you. It can come from your API Keys or your provider app settings.
This error was returned by the server:
Error during the 'request_token' step (HTTP status code: 403)
Linkedin App 界面好像变了:
- 重新进入白名单
- 重新进入 oauth 2.0 link
- 重新输入我的信息等。看起来设置正确
- 此设置直到最近才有效
这是代码:
OAuth.initialize('xxxxx');
OAuth.popup('linkedin')
.done(function(result) {
console.log("Connecting to Linkedin");
result.me()
.done(function (response) {
//
})
.fail(function (err) {
alert("Problem connecting to Linkedin: " + err);
});
})
.fail(function (err) {
alert("Problem connecting to Linkedin: " + err);
});
有什么想法吗?
在 oauth.io
:
检查此 link:https://developer.linkedin.com/support/developer-program-transition
Linkedin 对其 API 进行了一些更改,如果您使用 r_fullprofile
或 r_contactinfo
权限而未申请 [=22],可能会导致 403 错误=]edin 公司 API.
2015 年 2 月 12 日,LinkedIn 宣布了对其开发人员计划的一系列更改。这些更改现已开始生效,并将在 2015 年 5 月 12 日至 5 月 19 日期间推广到整个 LinkedIn 应用程序库。
请阅读以下网址
https://developer.linkedin.com/support/developer-program-transition
https://developer.linkedin.com/docs/apply-with-linkedin
注意- 如果您请求 r_fullprofile
或 r_contactinfo
许可,那么您必须阅读申请链接的条款和条件-在页面中。