WEBの情報を利用して(パクって)、クラス化しました。 BASIC認証方式です。
(注意)2010年8月でBASIC認証方式が使えなくなります
http://k-tateno.s-tanno.com/wiki/sample/twit/Twit_ore_class_001.zip
include_once 'Twit.class.php'; $tw = new Twit(); $tw->setId( 'あなたのID', 'あなたのPASSWORD'); $rtn = $tw->getFriends(); var_dump( $rtn );
include_once 'Twit.class.php'; $tw = new Twit(); $tw->setId( 'あなたのID', 'あなたのPASSWORD'); $tw->sendMessage( '送信テスト' );
include_once 'Twit.class.php'; $tw = new Twit(); $rtn = $tw->getPublic(); var_dump( $rtn );
include_once 'Twit.class.php'; $tw = new Twit(); $rtn = $tw->getUser('mahata'); var_dump( $rtn );
偽雄太 http://twitter.com/yutodayo
『雄太語録』投稿受け付けセンター http://k-tateno.s-tanno.com/yutatwit/