python-linkedin icon indicating copy to clipboard operation
python-linkedin copied to clipboard

Python-Linkedin on adding connection from linkedin

Open chfakht opened this issue 7 years ago • 0 comments

Python script on adding connection from linkedin. On following code:

from linkedin import linkedin

API_KEY = 'wFNJekVpDCJtRPFX812pQsJee-gt0zO4X5XmG6wcfSOSlLocxodAXNMbl0_hw3Vl'
API_SECRET = 'daJDa6_8UcnGMw1yuq9TsjoO_PMKukXMo8vEMo7Qv5J-G3SPgrAV0FqFCd0TNjQyG'

RETURN_URL = 'https://localhost:8000'

authentication = linkedin.LinkedInAuthentication(API_KEY, API_SECRET, RETURN_URL) #, linkedin.PERMISSIONS.enums.values())
print authentication.authorization_url  # open this url on your browser
application = linkedin.LinkedInApplication(authentication)

I get "The redirect_uri does not match the registered value" when logging to authentication.authorization_url

Can someone please help ?

chfakht avatar Oct 07 '18 23:10 chfakht