title: LinkedIn API - Get User Feed
body: <p>I am having trouble getting the feed of a users updates via the API.</p>
  
  <p>I am authenticating just fine and am able to get the profile information but that is it..</p>
  
  <p>Code:</p>
  
  <pre><code>$config['base_url'] = URL_FULL.'/networks.php?connect=3';   
  $config['callback_url'] = URL_FULL.'/networks.php?connect=3&amp;step=2'; 
  $config['linkedin_access'] = LINKEDIN_KEY;
  $config['linkedin_secret'] = LINKEDIN_SECRET;
  
  $li = new LinkedIn(
    array(
      'api_key' =&gt; LINKEDIN_KEY, 
      'api_secret' =&gt; LINKEDIN_SECRET, 
      'callback_url' =&gt; $config['callback_url']
    )
  );
  
  $test = $li-&gt;setAccessToken($row['token']);
  $info = $li-&gt;get('/people/~/network/updates');
  print_r($info);
  </code></pre>
  
  <p>Error:</p>
  
  <blockquote>
    <p>Fatal error: Uncaught exception 'RuntimeException' with message 'Request Error: Access to network denied. Raw Response: Array( [errorCode] => 0 [message] => Access to network denied [requestId] => GDXQ1QTFSQ [status] => 403 [timestamp] => 1399293102543)' in /var/www/social/includes/LinkedIn/linkedin.php:292Stack trace:#0 /var/www/social/includes/LinkedIn/linkedin.php(229): LinkedIn->_makeRequest('<a href="https://api.lin" rel="nofollow">https://api.lin</a>...', Array, 'GET', Array, Array)#1 /var/www/social/includes/LinkedIn/linkedin.php(197): LinkedIn->fetch('/people/~/netwo...', Array)#2 /var/www/social/includes/requests/getPosts.php(192): LinkedIn->get('/people/~/netwo...')#3 {main} thrown in /var/www/social/includes/LinkedIn/linkedin.php on line 292</p>
  </blockquote>
  
  <p><strong>EDIT:</strong>
  This problem still racks my brain!</p>