Python LinkedIn Search API 403 error -
i trying public profiles of people work in company x title, id, , connection. how use search api not 403 forbidden error?
from linkedin import linkedin consumer_key = 'xxx' consumer_secret = 'xxx' user_token = 'xxx' user_secret = 'xxx' return_url = '' auth = linkedin.linkedindeveloperauthentication(consumer_key, consumer_secret, user_token, user_secret, return_url, permissions=linkedin.permissions.enums.values()) app = linkedin.linkedinapplication(auth) mm=app.search_profile(selectors=[{'people': ['headline','id','num-connections',]}], params={'keywords': 'microsoft'}) print mm
so code gives me error
message file name line position traceback <module> <module1> 30 search_profile c:\python27\lib\site-packages\linkedin\linkedin.py 194 raise_for_error c:\python27\lib\site-packages\linkedin\utils.py 65 linkedinforbiddenerror: 403 client error: forbidden: access people search denied.
was search api updated search cannot accessed. not want use normal search , copy paste everything.
so appears linkedin has vetted process developer access
http://developer-programs.linkedin.com/forum/error-403-client-error-forbidden-unknown-error
and might have call customer service , agree tos
another option try using selenium data http://www.seleniumhq.org/
python bindings can found here:https://selenium-python.readthedocs.org/
Comments
Post a Comment