ozgur / python-linkedin

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

hi i want to post in linkedin from python script but it return error like #106

Open kartikdanidhariya opened 7 years ago

kartikdanidhariya commented 7 years ago

hi i want to post in linkedin from python script but it return error like "hi i want to post in linkedin from python script but it return error like" my code is `from linkedin import server

API_KEY = 'XXXXXXXXXXX' API_SECRET = 'XXXXXXXXXX'

application = server.quick_api(API_KEY, API_SECRET) `

After i try with this code `import linkedin

from linkedin import linkedin

API_KEY = 'XXXXXXXXXXXXXXXX' API_SECRET = 'XXXXXXXXXXX' 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) print "application",application`

so it return error like "AttributeError: 'module' object has no attribute 'LinkedInAuthentication' " how can i share post in linkedin account

jagadishnaik0105 commented 6 years ago

@kartikdanidhariya did you find the solution ? what has caused that error ?