Now I am trying to use linkedin python api to get users' information, below is my code:
from linkedin import linkedin
API_Key='...'
API_Secret='...'
Return_url='http://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)
application.get_profile()
However, it show the error:
AttributeError: 'NoneType' object has no attribute 'access_token'
And another problem is, if i have a name of the person, how to use api to get the person's information?