title: Twitter Search API no results
body: <p>I have a PHP script that uses the Twitter Search API to find tweets matching a search but for some reason is no longer working and is not returning any results.</p>
  
  <p>Does anyone know what is going wrong?</p>
  
  <pre><code>&lt;?php   
  
  $search=json_decode(file_get_contents('https://search.twitter.com/search.json?q='.urlencode($_GET[q]).'%20vine.co%2Fv%2F&amp;result_type=recent&amp;include_entities=1&amp;rpp=9&amp;page='.$_GET[page]));
  foreach($search-&gt;results as $result){
   foreach($result-&gt;entities-&gt;urls as $url){
     echo $url-&gt;expanded_url;
   }
  }
  
  ?&gt;
  </code></pre>