Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/python-2.7/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Rest Linkedin授权问题_Rest_Oauth 2.0_Linkedin - Fatal编程技术网

Rest Linkedin授权问题

Rest Linkedin授权问题,rest,oauth-2.0,linkedin,Rest,Oauth 2.0,Linkedin,我能够从linkedin授权API获得oauth_令牌和oauth_令牌密钥 但是,我不确定如何使用它来生成用于调用任何linkedin API的“oauth2\u访问\u令牌”参数 使用标题:“授权:承载{access\u token}”不起作用并出现错误。可以在oauth 1.0a流向LinkedIn的流程中利用oauth\u token和oauth\u token\u secret将的用户发送到LinkedIn授权端点,例如: https://api.linkedin.com/uas/oa

我能够从linkedin授权API获得oauth_令牌和oauth_令牌密钥

但是,我不确定如何使用它来生成用于调用任何linkedin API的“oauth2\u访问\u令牌”参数


使用标题:“授权:承载{access\u token}”不起作用并出现错误。

可以在oauth 1.0a流向LinkedIn的流程中利用
oauth\u token
oauth\u token\u secret
将的用户发送到LinkedIn授权端点,例如:

https://api.linkedin.com/uas/oauth/authorize?oauth_token=" . $oauth_token

如果您想利用OAuth 2.0,您需要遵循此处描述的不同路径:您不会使用
OAuth\u令牌
OAuth\u令牌
,而是使用使用者密钥和使用者机密。

Ok。但是如果继续使用Oauth 1.0,那么如何使用Oauth_令牌和Oauth_令牌来调用任何linkedin api呢。例如,获取成员配置文件。?