LinkedIn New API - Can't Get r_network Permission -
i inherited program written old linkedin api, , i'm trying migrate new api. when try r_basicprofile permission, oauth token works. however, when try r_network or rw_nus, response
invalid scope -- application has not been authorized r_network.
yet, when go www.linkedin.com/developer/apps/xxxx/auth, boxes r_network , rw_nus checked.
i.e., request to
https://www.linkedin.com/uas/oauth2/authorization?response_type=code&client_id=xxxxxx&scope=r_basicprofile&state=yyyy&redirect_uri=http%3a%2f%2fkalatublog.com%2fwp-content%2fmu-plugins%2fimb-en%2fhelpers%2fsocial-connect%2fapi%2ffinalize.php%3fapi%3dlinkedin%26ch%zzzzz
works, request to
https://www.linkedin.com/uas/oauth2/authorization?response_type=code&client_id=xxxxxx&scope=r_network&state=yyyy&redirect_uri=http%3a%2f%2fkalatublog.com%2fwp-content%2fmu-plugins%2fimb-en%2fhelpers%2fsocial-connect%2fapi%2ffinalize.php%3fapi%3dlinkedin%26ch%zzzzz
gives error. doing wrong?
after grace period expires, several rest api endpoints no longer available general use. following endpoints ones remain available use:
profile api — /v1/people/~ ` share api — /v1/people/~/shares companies api — /v1/companies/{id} if application using other api services (e.g. connections, groups, people search, invitation, job search, etc.) have apply become member of relevant partner program provides necessary api access continue leverage of endpoints not listed above.
it looks linkedin no longer wants share api. creating new app indicates possible options r_basicprofile, r_emailaddress, rw_company_admin, , w_share:

tldr: have locked down api , restricted usage extremely limited set of access points.
Comments
Post a Comment