ようやっとできたわー。意外に簡単な説明してくれてるサイトなくて困ったけど、それはあまりに簡単だからだったようです。 twitter apiはXMLとjsonでつぶやきを返してくれて、僕はjsonに挑戦したく。 ぐぐって出てくるのみんなXMLだったのよね。 今日のメモ。phpはmacの10.6についてたphpのままで、PEARも他のライブラリも何も使ってない(はず)です。 まず、twitterからjsonで検索結果を拾うには <?php $json = file_get_contents("http://search.twitter.com/search.json?q=%23seibulions&lang=ja"); ?> こう。これは、普通にブラウザでアクセスして中身が見れます。 http://search.twitter.com/search.json?q=%23seibulions&l