title: Filter Twitter API GET user/show results
body: <p>I'm using a PHP wrapper for my Twitter API calls which is found <a href="https://github.com/J7mbo/twitter-api-php" rel="nofollow">here</a>.</p>
  
  <p>I'm trying to get a follower count for my account and I am using</p>
  
  <pre><code>$url = 'https://api.twitter.com/1.1/users/show.json';
  $getfield = '?screen_name=symphaticidiot';
  $requestMethod = 'GET';
  
  $twitter = new TwitterAPIExchange($settings);
  $response = $twitter-&gt;setGetfield($getfield)
                  -&gt;buildOauth($url, $requestMethod)
                  -&gt;performRequest();
  
  var_dump(json_decode($response));
  </code></pre>
  
  <p>This works and does display the information. How do I filter it so it will only display <code>follower_count</code> instead of </p>
  
  <pre><code>object(stdClass)#2 (43) { ["id"]=&gt; int(391356688) ["id_str"]=&gt; string(9) "391356688"                                         ["name"]=&gt; string(8) "It's Dom" ["screen_name"]=&gt; string(14) "symphaticidiot" ["location"]=&gt; string(13) "Hull, England" ["description"]=&gt; string(110) "Specialised Generalist, #webguy, #poet, #IT Techie and the guy who has @amb_freeman as his amazing girlfriend." ["url"]=&gt; string(22) "http://t.co/YSoqD2K0NZ" ["entities"]=&gt; object(stdClass)#3 (2) { ["url"]=&gt; object(stdClass)#4 (1) .....
  </code></pre>