Twitter API Ver. 1.1への対応

自分のツイートをAPI1.1経由で取得してファイルに出力する

自分のツイートをAPI経由で取得してファイルに出力するサンプルです。twitteroauth.phpを使っています。

[php]OAuthRequest(“https://api.twitter.com/1.1/statuses/user_timeline.json”,’GET’,array(‘count’=>’10’));
$result = json_decode($req);

$tweet = “