2013年9月29日日曜日

GET statuses/retweets/:id

$apiurl='https://api.twitter.com/1.1/statuses/retweets/373439054957670401.json';
$HTTP_Methods='GET';
$paras['id']=''; //id.json
$paras['count']='1';
$paras['trim_user']='true';


$x->twoauth($HTTP_Methods,$apiurl,$paras);
//$x->send_curl();
//var_dump($x->send_curl());
print_r($x->send_curl());



Array
(
    [0] => stdClass Object
        (
            [created_at] => Sun Sep 29 01:37:32 +0000 2013
            [id] => 3.84129784651E+17
            [id_str] => 384129784650801152
            [text] => RT @masason: 被災地高校生の留学支援「TOMODACHIリーダーシップ・プログラム」に参加した100人が無事帰国。米国での学びと被災地の現状を9/1(日)13:30~アップルストア銀座にて報告します。ぜひ高校生の生の声を聞きに来て下さい。
            [source] => Twitter for iPhone
            [truncated] => 
            [in_reply_to_status_id] => 
            [in_reply_to_status_id_str] => 
            [in_reply_to_user_id] => 
            [in_reply_to_user_id_str] => 
            [in_reply_to_screen_name] => 
            [user] => stdClass Object
                (
                    [id] => 118879992
                    [id_str] => 118879992
                )

            [geo] => 
            [coordinates] => 
            [place] => 
            [contributors] => 
            [retweeted_status] => stdClass Object
                (
                    [created_at] => Fri Aug 30 13:36:23 +0000 2013
                    [id] => 3.73439054958E+17
                    [id_str] => 373439054957670401
                    [text] => 被災地高校生の留学支援「TOMODACHIリーダーシップ・プログラム」に参加した100人が無事帰国。米国での学びと被災地の現状を9/1(日)13:30~アップルストア銀座にて報告します。ぜひ高校生の生の声を聞きに来て下さい。
                    [source] => TwitRocker2 for iPad
                    [truncated] => 
                    [in_reply_to_status_id] => 
                    [in_reply_to_status_id_str] => 
                    [in_reply_to_user_id] => 
                    [in_reply_to_user_id_str] => 
                    [in_reply_to_screen_name] => 
                    [user] => stdClass Object
                        (
                            [id] => 99008565
                            [id_str] => 99008565
                        )

                    [geo] => 
                    [coordinates] => 
                    [place] => 
                    [contributors] => 
                    [retweet_count] => 247
                    [favorite_count] => 104
                    [entities] => stdClass Object
                        (
                            [hashtags] => Array
                                (
                                )

                            [symbols] => Array
                                (
                                )

                            [urls] => Array
                                (
                                )

                            [user_mentions] => Array
                                (
                                )

                        )

                    [favorited] => 
                    [retweeted] => 
                    [lang] => ja
                )

            [retweet_count] => 247
            [favorite_count] => 0
            [entities] => stdClass Object
                (
                    [hashtags] => Array
                        (
                        )

                    [symbols] => Array
                        (
                        )

                    [urls] => Array
                        (
                        )

                    [user_mentions] => Array
                        (
                            [0] => stdClass Object
                                (
                                    [screen_name] => masason
                                    [name] => 孫正義
                                    [id] => 99008565
                                    [id_str] => 99008565
                                    [indices] => Array
                                        (
                                            [0] => 3
                                            [1] => 11
                                        )

                                )

                        )

                )

            [favorited] => 
            [retweeted] => 
            [lang] => ja
        )

)

0 件のコメント: