facebook twitter hatena line email

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

提供: 初心者エンジニアの簡易メモ
移動: 案内検索
(twitter検索時のyoutubeサンプルデータ)
行1: 行1:
 
==twitter検索時のyoutubeサンプルデータ==
 
==twitter検索時のyoutubeサンプルデータ==
  
-youtu.be編
+
*youtu.be編
 
  stdClass Object
 
  stdClass Object
 
  (
 
  (
行130: 行130:
 
  )
 
  )
  
-youtube.com編
+
*youtube.com編
 
  stdClass Object
 
  stdClass Object
 
  (
 
  (

2015年11月2日 (月) 22:59時点における版

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 11:05:34 +0000 2015
   [id] => 661137065283719169
   [id_str] => 661137065283719169
   [text] => 【ジュンス 豪「SBS POPASIA」インタビュー】(2日 cr.sbspopasia) https://t.co/UpMGeeCPB3 https://t.co/80l9XZbStp
   [source] => <a href="http://twitter.com/download/android" rel="nofollow">Twitter for Android</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] => 133093716
           [id_str] => 133093716
           [name] => Maki (๑≧౪≦)
           [screen_name] => MAKI_tokyoJapaN
           [location] => Tokyo or Red Ocean
           [description] => 【日本デビュー10周年企画「思い出に残る東方神起/JYJ 日本語の歌」みなさんのアンケート結果まとめました】◆シングル部門ベスト30⇒https://t.co/0GZuLtjhZE ◆アルバム部門ベスト30⇒https://t.co/fTS6knRqp2
           [url] => 
           [entities] => stdClass Object
               (
                   [description] => stdClass Object
                       (
                           [urls] => Array
                               (
                                   [0] => stdClass Object
                                       (
                                           [url] => https://t.co/0GZuLtjhZE
                                           [expanded_url] => https://vimeo.com/127397013
                                           [display_url] => vimeo.com/127397013
                                           [indices] => Array
                                               (
                                                   [0] => 67
                                                   [1] => 90
                                               )
                                       )
                                   [1] => stdClass Object
                                       (
                                           [url] => https://t.co/fTS6knRqp2
                                           [expanded_url] => https://vimeo.com/127006964
                                           [display_url] => vimeo.com/127006964
                                           [indices] => Array
                                               (
                                                   [0] => 104
                                                   [1] => 127
                                               )
                                       )
                               )
                       )
               )
           [protected] => 
           [followers_count] => 32292
           [friends_count] => 157
           [listed_count] => 392
           [created_at] => Thu Apr 15 00:51:30 +0000 2010
           [favourites_count] => 1228
           [utc_offset] => 32400
           [time_zone] => Tokyo
           [geo_enabled] => 1
           [verified] => 
           [statuses_count] => 13788
           [lang] => ja
           [contributors_enabled] => 
           [is_translator] => 
           [is_translation_enabled] => 1
           [profile_background_color] => F5E473
           [profile_background_image_url] => http://pbs.twimg.com/profile_background_images/221557931/204507.jpg
           [profile_background_image_url_https] => https://pbs.twimg.com/profile_background_images/221557931/204507.jpg
           [profile_background_tile] => 
           [profile_image_url] => http://pbs.twimg.com/profile_images/471859176088403970/8CL-btV3_normal.jpeg
           [profile_image_url_https] => https://pbs.twimg.com/profile_images/471859176088403970/8CL-btV3_normal.jpeg
           [profile_banner_url] => https://pbs.twimg.com/profile_banners/133093716/1401335372
           [profile_link_color] => E60707
           [profile_sidebar_border_color] => FFFFFF
           [profile_sidebar_fill_color] => FFF369
           [profile_text_color] => 807111
           [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] => 100
   [favorite_count] => 196
   [entities] => stdClass Object
       (
           [hashtags] => Array
               (
               )
           [symbols] => Array
               (
               )
           [user_mentions] => Array
               (
               )
           [urls] => Array
               (
                   [0] => stdClass Object
                       (
                           [url] => https://t.co/UpMGeeCPB3
                           [expanded_url] => http://www.youtube.com/watch?v=ECoqOOh32F0&sns=tw
                           [display_url] => youtube.com/watch?v=ECoqOO…
                           [indices] => Array
                               (
                                   [0] => 46
                                   [1] => 69
                               )
                       )
               )
           [media] => Array
               (
                   [0] => stdClass Object
                       (
                           [id] => 661137051580952577
                           [id_str] => 661137051580952577
                           [indices] => Array
                               (
                                   [0] => 70
                                   [1] => 93
                               )
                           [media_url] => http://pbs.twimg.com/media/CSzUpUNU8AEvAxx.jpg
                           [media_url_https] => https://pbs.twimg.com/media/CSzUpUNU8AEvAxx.jpg
                           [url] => https://t.co/80l9XZbStp
                           [display_url] => pic.twitter.com/80l9XZbStp
                           [expanded_url] => http://twitter.com/MAKI_tokyoJapaN/status/661137065283719169/photo/1
                           [type] => photo
                           [sizes] => stdClass Object
                               (
                                   [small] => stdClass Object
                                       (
                                           [w] => 340
                                           [h] => 191
                                           [resize] => fit
                                       )
                                   [thumb] => stdClass Object
                                       (
                                           [w] => 150
                                           [h] => 150
                                           [resize] => crop
                                       )
                                   [medium] => stdClass Object
                                       (
                                           [w] => 600
                                           [h] => 337
                                           [resize] => fit
                                       )
                                   [large] => stdClass Object
                                       (
                                           [w] => 1024
                                           [h] => 576
                                           [resize] => fit
                                       )
                               )
                       )
               )
       )
   [favorited] => 
   [retweeted] => 
   [possibly_sensitive] => 
   [lang] => ja
)