ozgur / python-linkedin

Python interface to the LinkedIn API
http://ozgur.github.com/python-linkedin/
MIT License
894 stars 392 forks source link

authentication: after I open the url on my brower, i get this... #107

Open jason79 opened 7 years ago

jason79 commented 7 years ago

http://localhost:8080/code?error=invalid_scope&error_description=Your+application+has+not+been+authorized+for+the+scope+%22rw_nus%22#!

it is the same error when I do step one after executing http_api.py... and going to http:/localhost:8080

iHirenDev commented 7 years ago

Hi @jason79 . I was facing the same problem.

Try this:

PERMISSIONS = ['r_basicprofile', 'r_emailaddress'] //Here, you can give your permission which you have selected on linkedin developer site. authentication = linkedin.LinkedInAuthentication(API_KEY, API_SECRET, RETURN_URL, PERMISSIONS)