Twitter Search API を使用して検索に一致するツイートを見つける PHP スクリプトがありますが、何らかの理由で機能しなくなり、結果が返されません。
誰が何がうまくいかないのか知っていますか?
<?php
$search=json_decode(file_get_contents('https://search.twitter.com/search.json?q='.urlencode($_GET[q]).'%20vine.co%2Fv%2F&result_type=recent&include_entities=1&rpp=9&page='.$_GET[page]));
foreach($search->results as $result){
foreach($result->entities->urls as $url){
echo $url->expanded_url;
}
}
?>