LinkedIn Oauth scope issue with PHP library

╄→гoц情女王★ 提交于 2019-12-08 14:22:09

问题


I have been trying to implement the new scope features that were recently added to the LinkedIn API. I am currently using the "simple-linkedinphp" library for as my LinkedIn oauth lib (http://code.google.com/p/simple-linkedinphp/ ).

Following the directions on the LinkedIn docs, I added the "scope" param to my request token URL as such:

  const _URL_REQUEST    = 'https://api.linkedin.com/uas/oauth/requestToken?scope=r_basicprofile+r_emailaddress';

However, this had little effect. I still get the same o-auth dialogue as before without any additional permissions for the e-mail address. Anyone get this working correctly in PHP yet? Any help here would be appreciated.


回答1:


You need to create new Application API keys and use those to see the updated authentication screens.



来源:https://stackoverflow.com/questions/11976188/linkedin-oauth-scope-issue-with-php-library

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!