facebook twitter hatena line email

「Twitter/api/youtube」の版間の差分

提供: 初心者エンジニアの簡易メモ
移動: 案内検索
(ページの作成:「==twitter検索時のyoutubeサンプルデータ== stdClass Object ( [metadata] => stdClass Object ( [iso_language_code] => ja [res...」)
 
(twitter検索時のyoutubeサンプルデータ)
 
(同じ利用者による、間の4版が非表示)
行1: 行1:
 
==twitter検索時のyoutubeサンプルデータ==
 
==twitter検索時のyoutubeサンプルデータ==
 +
 +
*youtu.be編
 
  stdClass Object
 
  stdClass Object
 
  (
 
  (
行11: 行13:
 
     [id_str] => 659381545136881668
 
     [id_str] => 659381545136881668
 
     [text] => 【ドラフト指名挨拶】横浜DeNAベイスターズ 5位指名|綾部翔選手[霞ヶ浦高校] https://t.co/AMcN83AdUR
 
     [text] => 【ドラフト指名挨拶】横浜DeNAベイスターズ 5位指名|綾部翔選手[霞ヶ浦高校] https://t.co/AMcN83AdUR
NPBドラフト会議2015で、横浜DeNAベイスターズか­ら5位指名を受けた、綾部 翔選手へ球団関係者の指名挨拶とインタビューです
+
NPBドラフト会議2015で、横浜DeNAベイスターズか­ら5位指名を受けた、綾部 翔選手へ球団関係者の指名挨拶とインタビューです
28日公開
+
28日公開
 
     [source] => <a href="http://twitter.com" rel="nofollow">Twitter Web Client</a>
 
     [source] => <a href="http://twitter.com" rel="nofollow">Twitter Web Client</a>
 
     [truncated] =>  
 
     [truncated] =>  
行118: 行120:
 
                                     [0] => 41
 
                                     [0] => 41
 
                                     [1] => 64
 
                                     [1] => 64
 +
                                )
 +
                        )
 +
                )
 +
        )
 +
    [favorited] =>
 +
    [retweeted] =>
 +
    [possibly_sensitive] =>
 +
    [lang] => ja
 +
)
 +
 +
*youtube.com編
 +
stdClass Object
 +
(
 +
    [metadata] => stdClass Object
 +
        (
 +
            [iso_language_code] => ja
 +
            [result_type] => recent
 +
        )
 +
    [created_at] => Mon Nov 02 09:09:02 +0000 2015
 +
    [id] => 661107741361049600
 +
    [id_str] => 661107741361049600
 +
    [text] => 「Mr.Platonic」林田真尋ver.カップリング曲「ターミナル」(Short Ver.) https://t.co/TADdwIGxql #フェアリーズ
 +
    [source] => <a href="http://ifttt.com" rel="nofollow">IFTTT</a>
 +
    [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] => 349506406
 +
            [id_str] => 349506406
 +
            [name] => Fairies News
 +
            [screen_name] => fairies_news
 +
            [location] =>
 +
            [description] => ブログ更新のお知らせです。
 +
【 Official  → @fairies_me 】
 +
            [url] => http://t.co/STtonAU7GV
 +
            [entities] => stdClass Object
 +
                (
 +
                    [url] => stdClass Object
 +
                        (
 +
                            [urls] => Array
 +
                                (
 +
                                    [0] => stdClass Object
 +
                                        (
 +
                                            [url] => http://t.co/STtonAU7GV
 +
                                            [expanded_url] => http://www.rising-pro.jp/artist/fairies/
 +
                                            [display_url] => rising-pro.jp/artist/fairies/
 +
                                            [indices] => Array
 +
                                                (
 +
                                                    [0] => 0
 +
                                                    [1] => 22
 +
                                                )
 +
                                        )
 +
                                )
 +
                        )
 +
                    [description] => stdClass Object
 +
                        (
 +
                            [urls] => Array
 +
                                (
 +
                                )
 +
                        )
 +
                )
 +
            [protected] =>
 +
            [followers_count] => 10916
 +
            [friends_count] => 10223
 +
            [listed_count] => 135
 +
            [created_at] => Sat Aug 06 06:10:32 +0000 2011
 +
            [favourites_count] => 10379
 +
            [utc_offset] => 32400
 +
            [time_zone] => Tokyo
 +
            [geo_enabled] =>
 +
            [verified] =>
 +
            [statuses_count] => 9724
 +
            [lang] => ja
 +
            [contributors_enabled] =>
 +
            [is_translator] =>
 +
            [is_translation_enabled] =>
 +
            [profile_background_color] => FFFFFF
 +
            [profile_background_image_url] => http://pbs.twimg.com/profile_background_images/378800000043587998/427d9c0df58f38c6ae0234750c3d150d.png
 +
            [profile_background_image_url_https] => https://pbs.twimg.com/profile_background_images/378800000043587998/427d9c0df58f38c6ae0234750c3d150d.png
 +
            [profile_background_tile] =>
 +
            [profile_image_url] => http://pbs.twimg.com/profile_images/1481822634/user_icon_normal.png
 +
            [profile_image_url_https] => https://pbs.twimg.com/profile_images/1481822634/user_icon_normal.png
 +
            [profile_banner_url] => https://pbs.twimg.com/profile_banners/349506406/1398560221
 +
            [profile_link_color] => 0084B4
 +
            [profile_sidebar_border_color] => FFFFFF
 +
            [profile_sidebar_fill_color] => FFFFFF
 +
            [profile_text_color] => 3D1957
 +
            [profile_use_background_image] => 1
 +
            [has_extended_profile] =>
 +
            [default_profile] =>
 +
            [default_profile_image] =>
 +
            [following] =>
 +
            [follow_request_sent] =>
 +
            [notifications] =>
 +
        )
 +
    [geo] =>
 +
    [coordinates] =>
 +
    [place] =>
 +
    [contributors] =>
 +
    [is_quote_status] =>
 +
    [retweet_count] => 30
 +
    [favorite_count] => 43
 +
    [entities] => stdClass Object
 +
        (
 +
            [hashtags] => Array
 +
                (
 +
                    [0] => stdClass Object
 +
                        (
 +
                            [text] => フェアリーズ
 +
                            [indices] => Array
 +
                                (
 +
                                    [0] => 72
 +
                                    [1] => 79
 +
                                )
 +
                        )
 +
                )
 +
            [symbols] => Array
 +
                (
 +
                )
 +
            [user_mentions] => Array
 +
                (
 +
                )
 +
            [urls] => Array
 +
                (
 +
                    [0] => stdClass Object
 +
                        (
 +
                            [url] => https://t.co/TADdwIGxql
 +
                            [expanded_url] => http://www.youtube.com/watch?v=9_X-TW5S8tw
 +
                            [display_url] => youtube.com/watch?v=9_X-TW…
 +
                            [indices] => Array
 +
                                (
 +
                                    [0] => 48
 +
                                    [1] => 71
 
                                 )
 
                                 )
 
                         )
 
                         )

2015年11月2日 (月) 23:47時点における最新版

twitter検索時のyoutubeサンプルデータ

  • youtu.be編
stdClass Object
(
   [metadata] => stdClass Object
       (
           [iso_language_code] => ja
           [result_type] => recent
       )
   [created_at] => Wed Oct 28 14:49:45 +0000 2015
   [id] => 659381545136881668
   [id_str] => 659381545136881668
   [text] => 【ドラフト指名挨拶】横浜DeNAベイスターズ 5位指名|綾部翔選手[霞ヶ浦高校] https://t.co/AMcN83AdUR
NPBドラフト会議2015で、横浜DeNAベイスターズか­ら5位指名を受けた、綾部 翔選手へ球団関係者の指名挨拶とインタビューです
28日公開
   [source] => <a href="http://twitter.com" rel="nofollow">Twitter Web Client</a>
   [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] => 293286943
           [id_str] => 293286943
           [name] => 蘇龍
           [screen_name] => soryu_55
           [location] => 愛知県
           [description] => (。ÒㅅÓ)<誰でもフォロー歓迎!リフォロー(フォロバ)100%。なんJ/おんJ/音楽鑑賞/pixiv/ゲーム/ニコニコ/三国志/無双/野球/やきう/横浜DeNAベイスターズ/漫画(週刊少年誌系)。iTunes連携用垢(@soryu_55_1)。詳しくはツイプロをどうぞ。ブロックやリムーブは滅多にしません。
           [url] => http://t.co/AF9dE0W9iJ
           [entities] => stdClass Object
               (
                   [url] => stdClass Object
                       (
                           [urls] => Array
                               (
                                   [0] => stdClass Object
                                       (
                                           [url] => http://t.co/AF9dE0W9iJ
                                           [expanded_url] => http://twpf.jp/soryu_55
                                           [display_url] => twpf.jp/soryu_55
                                           [indices] => Array
                                               (
                                                   [0] => 0
                                                   [1] => 22
                                               )
                                       )
                               )
                       )
                   [description] => stdClass Object
                       (
                           [urls] => Array
                               (
                               )
                       )
               )
           [protected] => 
           [followers_count] => 9153
           [friends_count] => 10053
           [listed_count] => 127
           [created_at] => Thu May 05 02:38:00 +0000 2011
           [favourites_count] => 540
           [utc_offset] => 
           [time_zone] => 
           [geo_enabled] => 
           [verified] => 
           [statuses_count] => 107193
           [lang] => ja
           [contributors_enabled] => 
           [is_translator] => 
           [is_translation_enabled] => 
           [profile_background_color] => C0DEED
           [profile_background_image_url] => http://pbs.twimg.com/profile_background_images/550649114644316161/FcaCzQ5P.jpeg
           [profile_background_image_url_https] => https://pbs.twimg.com/profile_background_images/550649114644316161/FcaCzQ5P.jpeg
           [profile_background_tile] => 
           [profile_image_url] => http://pbs.twimg.com/profile_images/660814898260152320/-1CwPNgT_normal.png
           [profile_image_url_https] => https://pbs.twimg.com/profile_images/660814898260152320/-1CwPNgT_normal.png
           [profile_banner_url] => https://pbs.twimg.com/profile_banners/293286943/1420120584
           [profile_link_color] => 0084B4
           [profile_sidebar_border_color] => FFFFFF
           [profile_sidebar_fill_color] => DDEEF6
           [profile_text_color] => 333333
           [profile_use_background_image] => 1
           [has_extended_profile] => 
           [default_profile] => 
           [default_profile_image] => 
           [following] => 
           [follow_request_sent] => 
           [notifications] => 
       )
   [geo] => 
   [coordinates] => 
   [place] => 
   [contributors] => 
   [is_quote_status] => 
   [retweet_count] => 3
   [favorite_count] => 6
   [entities] => stdClass Object
       (
           [hashtags] => Array
               (
               )
           [symbols] => Array
               (
               )
           [user_mentions] => Array
               (
               )
           [urls] => Array
               (
                   [0] => stdClass Object
                       (
                           [url] => https://t.co/AMcN83AdUR
                           [expanded_url] => https://youtu.be/PWeW5MpgATY
                           [display_url] => youtu.be/PWeW5MpgATY
                           [indices] => Array
                               (
                                   [0] => 41
                                   [1] => 64
                               )
                       )
               )
       )
   [favorited] => 
   [retweeted] => 
   [possibly_sensitive] => 
   [lang] => ja
)
  • youtube.com編
stdClass Object
(
   [metadata] => stdClass Object
       (
           [iso_language_code] => ja
           [result_type] => recent
       )
   [created_at] => Mon Nov 02 09:09:02 +0000 2015
   [id] => 661107741361049600
   [id_str] => 661107741361049600
   [text] => 「Mr.Platonic」林田真尋ver.カップリング曲「ターミナル」(Short Ver.) https://t.co/TADdwIGxql #フェアリーズ
   [source] => <a href="http://ifttt.com" rel="nofollow">IFTTT</a>
   [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] => 349506406
           [id_str] => 349506406
           [name] => Fairies News
           [screen_name] => fairies_news
           [location] => 
           [description] => ブログ更新のお知らせです。
【 Official  → @fairies_me 】
           [url] => http://t.co/STtonAU7GV
           [entities] => stdClass Object
               (
                   [url] => stdClass Object
                       (
                           [urls] => Array
                               (
                                   [0] => stdClass Object
                                       (
                                           [url] => http://t.co/STtonAU7GV
                                           [expanded_url] => http://www.rising-pro.jp/artist/fairies/
                                           [display_url] => rising-pro.jp/artist/fairies/
                                           [indices] => Array
                                               (
                                                   [0] => 0
                                                   [1] => 22
                                               )
                                       )
                               )
                       )
                   [description] => stdClass Object
                       (
                           [urls] => Array
                               (
                               )
                       )
               )
           [protected] => 
           [followers_count] => 10916
           [friends_count] => 10223
           [listed_count] => 135
           [created_at] => Sat Aug 06 06:10:32 +0000 2011
           [favourites_count] => 10379
           [utc_offset] => 32400
           [time_zone] => Tokyo
           [geo_enabled] => 
           [verified] => 
           [statuses_count] => 9724
           [lang] => ja
           [contributors_enabled] => 
           [is_translator] => 
           [is_translation_enabled] => 
           [profile_background_color] => FFFFFF
           [profile_background_image_url] => http://pbs.twimg.com/profile_background_images/378800000043587998/427d9c0df58f38c6ae0234750c3d150d.png
           [profile_background_image_url_https] => https://pbs.twimg.com/profile_background_images/378800000043587998/427d9c0df58f38c6ae0234750c3d150d.png
           [profile_background_tile] => 
           [profile_image_url] => http://pbs.twimg.com/profile_images/1481822634/user_icon_normal.png
           [profile_image_url_https] => https://pbs.twimg.com/profile_images/1481822634/user_icon_normal.png
           [profile_banner_url] => https://pbs.twimg.com/profile_banners/349506406/1398560221
           [profile_link_color] => 0084B4
           [profile_sidebar_border_color] => FFFFFF
           [profile_sidebar_fill_color] => FFFFFF
           [profile_text_color] => 3D1957
           [profile_use_background_image] => 1
           [has_extended_profile] => 
           [default_profile] => 
           [default_profile_image] => 
           [following] => 
           [follow_request_sent] => 
           [notifications] => 
       )
   [geo] => 
   [coordinates] => 
   [place] => 
   [contributors] => 
   [is_quote_status] => 
   [retweet_count] => 30
   [favorite_count] => 43
   [entities] => stdClass Object
       (
           [hashtags] => Array
               (
                   [0] => stdClass Object
                       (
                           [text] => フェアリーズ
                           [indices] => Array
                               (
                                   [0] => 72
                                   [1] => 79
                               )
                       )
               )
           [symbols] => Array
               (
               )
           [user_mentions] => Array
               (
               )
           [urls] => Array
               (
                   [0] => stdClass Object
                       (
                           [url] => https://t.co/TADdwIGxql
                           [expanded_url] => http://www.youtube.com/watch?v=9_X-TW5S8tw
                           [display_url] => youtube.com/watch?v=9_X-TW…
                           [indices] => Array
                               (
                                   [0] => 48
                                   [1] => 71
                               )
                       )
               )
       )
   [favorited] => 
   [retweeted] => 
   [possibly_sensitive] => 
   [lang] => ja
)