ネットでよく貼られてるベーシック認証によるStreamAPIはもう出来ないっぽい? が、イチから認証すると面倒なので、tmhOAuthというライブラリを使う。やったね <?php require_once("tmhOAuth.php"); //取得したデータの処理 function filter_callback($data, $length, $metrics){ $tweet = json_decode($data); if($tweet->user->lang === "ja"){ $screenName = $tweet->user->screen_name; $text = $tweet->text; echo '@' . $screenName . ' ' . $text . '<hr />'; } } $tmh = new tmhOauth(array( 'consumer_