title: LinkedIn Job Search API - Python
body: <p>Error 403 Client Error: Forbidden: Unknown Error</p>
  <p>I am trying to run the following code to extract data from Linkedin's API. For some reason, I am NOT able to generate/extract data for job search and people search. Although, the code throws data/results for company search. Can you please help....My code below.</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>CONSUMER_KEY = '&lt;redacted&gt;'
  CONSUMER_SECRET = '&lt;redacted&gt;'
  USER_TOKEN = '&lt;redacted&gt;'
  USER_SECRET = '&lt;redacted&gt;'
  RETURN_URL = ''
  
  from linkedin import linkedin
  from oauthlib import *
  import json
  
  
  authentication = linkedin.LinkedInDeveloperAuthentication(CONSUMER_KEY, CONSUMER_SECRET, 
                                                        USER_TOKEN, USER_SECRET, 
                                                        RETURN_URL, linkedin.PERMISSIONS.enums.values())
  
  application = linkedin.LinkedInApplication(authentication)
  
   
  print "*" * 120
  
  company = application.search_company(selectors=[{'companies': ['name', 'universal-name', 'website-url']}], params={'keywords': 'python'})
  print json.dumps(company, indent=3)
  
  #profiles = application.search_profile(selectors=[{'people': ['first-name', 'last-name']}], params={'keywords': 'apple microsoft'})
  #print json.dumps(profiles, indent=3) 
  #
  #jobs = application.search_job(selectors=[{'jobs': ['id', 'customer-job-code', 'posting-date']}], params={'title': 'python', 'count': 2})
  #print json.dumps(jobs, indent=3)</code></pre>
  </div>
  </div>
  </p>