I tried so many methods, but nobody works. Help me establish a connection to linkedin using python. I have all the tokens. I have python 2.7.5. Send a sample base code that establishes a connection and gets the username.
Below I made a symbol for a symbol, as the example said, but it does not work.
https://github.com/ozgur/python-linkedin <--- Here I got the api and I copied it for sure. See below:
CONSUMER_KEY = '9puxXXXXXXXX'
I get this error:
Traceback (most recent call last): File "C:/Documents and Settings/visolank/Desktop/Python/programs/linkedinapi.py", line 8, in <module> from linkedin import linkedin File "C:/Documents and Settings/visolank/Desktop/Python/programs\linkedin\linkedin.py", line 2, in <module> from requests_oauthlib import OAuth1 File "C:\Python27\lib\site-packages\requests_oauthlib\__init__.py", line 1, in <module> from .core import OAuth1 File "C:\Python27\lib\site-packages\requests_oauthlib\core.py", line 4, in <module> from oauthlib.oauth1 import (Client, SIGNATURE_HMAC, SIGNATURE_TYPE_AUTH_HEADER) File "C:\Python27\lib\site-packages\requests_oauthlib\oauthlib\oauth1\__init__.py", line 12, in <module> from .rfc5849 import Client File "C:\Python27\lib\site-packages\requests_oauthlib\oauthlib\oauth1\rfc5849\__init__.py", line 26, in <module> from oauthlib.common import Request, urlencode, generate_nonce ImportError: No module named oauthlib.common
python api linkedin
user1681664
source share