title: Follower count number in Twitter
body: <p>How to get my followers count number with PHP. </p>
  
  <p>I found this answer here: <a href="https://stackoverflow.com/questions/8683228/twitter-follower-count-number"> Twitter follower count number</a>, but it is not working because API 1.0 is no longer active.</p>
  
  <p>I have also tried with API 1.1 using this URL: <a href="https://api.twitter.com/1.1/users/lookup.json?screen_name=google" rel="nofollow noreferrer">https://api.twitter.com/1.1/users/lookup.json?screen_name=google</a> but is is showing an error(Bad Authentication data).</p>
  
  <p>Here is my code:</p>
  
  <pre><code>$data = json_decode(file_get_contents('http://api.twitter.com/1.1/users/lookup.json?screen_name=google'), true);
  echo $data[0]['followers_count'];
  </code></pre>