Twitter

GET https://api.twitter.com/1.1/search/tweets.json?q=@Wendys&result_type=popular&count=50

Visualizes the structure of the response from Twitter API: top tweets by Wendy's.

Sample JSON response { "statuses": [ { "created_at": "Tue Nov 19 02:45:41 +0000 2019", "id": 1196620530998292481, "id_str": "1196620530998292481", "text": "Career-high 26 points for @H23Ash\n\n@Wendys Player of the Game https://t.co/1KNWg7tfXT", "truncated": false, "entities": { "hashtags": [], "symbols": [], "user_mentions": [ { "screen_name": "H23Ash", "name": "ashton hagans", "id": 2682044908, "id_str": "2682044908", "indices": [ 26, 33 ] }, { "screen_name": "Wendys", "name": "Wendy's", "id": 59553554, "id_str": "59553554", "indices": [ 35, 42 ] } ], "urls": [], "media": [ { "id": 1196620092886388737, "id_str": "1196620092886388737", "indices": [ 62, 85 ], "media_url": "http://pbs.twimg.com/media/EJs_xl3WsAEimkZ.jpg", "media_url_https": "https://pbs.twimg.com/media/EJs_xl3WsAEimkZ.jpg", "url": "https://t.co/1KNWg7tfXT", "display_url": "pic.twitter.com/1KNWg7tfXT", "expanded_url": "https://twitter.com/KentuckyMBB/status/1196620530998292481/video/1", "type": "photo", "sizes": { "thumb": { "w": 150, "h": 150, "resize": "crop" }, "small": { "w": 680, "h": 381, "resize": "fit" }, "large": { "w": 2048, "h": 1149, "resize": "fit" }, "medium": { "w": 1200, "h": 673, "resize": "fit" } } } ] }, "extended_entities": { "media": [ { "id": 1196620092886388737, "id_str": "1196620092886388737", "indices": [ 62, 85 ], "media_url": "http://pbs.twimg.com/media/EJs_xl3WsAEimkZ.jpg", "media_url_https": "https://pbs.twimg.com/media/EJs_xl3WsAEimkZ.jpg", "url": "https://t.co/1KNWg7tfXT", "display_url": "pic.twitter.com/1KNWg7tfXT", "expanded_url": "https://twitter.com/KentuckyMBB/status/1196620530998292481/video/1", "type": "video", "sizes": { "thumb": { "w": 150, "h": 150, "resize": "crop" }, "small": { "w": 680, "h": 381, "resize": "fit" }, "large": { "w": 2048, "h": 1149, "resize": "fit" }, "medium": { "w": 1200, "h": 673, "resize": "fit" } }, "video_info": { "aspect_ratio": [ 16, 9 ], "duration_millis": 10000, "variants": [ { "content_type": "application/x-mpegURL", "url": "https://video.twimg.com/amplify_video/1196620092886388737/pl/eU57Vz_XjLHPN7BN.m3u8?tag=13" }, { "bitrate": 288000, "content_type": "video/mp4", "url": "https://video.twimg.com/amplify_video/1196620092886388737/vid/480x270/yFA0o-64ynB05Hz6.mp4?tag=13" }, { "bitrate": 2176000, "content_type": "video/mp4", "url": "https://video.twimg.com/amplify_video/1196620092886388737/vid/1024x576/6n2YPpRVMIxoJa0P.mp4?tag=13" }, { "bitrate": 832000, "content_type": "video/mp4", "url": "https://video.twimg.com/amplify_video/1196620092886388737/vid/640x360/igUHJBlF8aRncGC4.mp4?tag=13" } ] }, "additional_media_info": { "title": "Ashton Hagans", "description": "Wendy's Player of the Game", "embeddable": true, "monetizable": false } } ] }, "metadata": { "result_type": "popular", "iso_language_code": "en" }, "source": "<a href=\"https://studio.twitter.com\" rel=\"nofollow\">Twitter Media Studio</a>", "in_reply_to_status_id": null, "in_reply_to_status_id_str": null, "in_reply_to_user_id": null, "in_reply_to_user_id_str": null, "in_reply_to_screen_name": null, "user": { "id": 35583547, "id_str": "35583547", "name": "Kentucky Basketball", "screen_name": "KentuckyMBB", "location": "Rupp Arena", "description": "Official Twitter account for Kentucky Men’s Basketball. #TGT - 𝗧he 𝗚reatest 𝗧radition. Eight-time NCAA champions, winningest program in college basketball.", "url": "https://t.co/HcLn0lkgYi", "entities": { "url": { "urls": [ { "url": "https://t.co/HcLn0lkgYi", "expanded_url": "http://giphy.com/kentuckymbb", "display_url": "giphy.com/kentuckymbb", "indices": [ 0, 23 ] } ] }, "description": { "urls": [] } }, "protected": false, "followers_count": 791003, "friends_count": 653, "listed_count": 1217, "created_at": "Sun Apr 26 22:25:01 +0000 2009", "favourites_count": 549, "utc_offset": null, "time_zone": null, "geo_enabled": true, "verified": true, "statuses_count": 35138, "lang": null, "contributors_enabled": false, "is_translator": false, "is_translation_enabled": false, "profile_background_color": "0A11B8", "profile_background_image_url": "http://abs.twimg.com/images/themes/theme1/bg.png", "profile_background_image_url_https": "https://abs.twimg.com/images/themes/theme1/bg.png", "profile_background_tile": false, "profile_image_url": "http://pbs.twimg.com/profile_images/1192886378310373378/XGgfxVMk_normal.jpg", "profile_image_url_https": "https://pbs.twimg.com/profile_images/1192886378310373378/XGgfxVMk_normal.jpg", "profile_banner_url": "https://pbs.twimg.com/profile_banners/35583547/1502115999", "profile_link_color": "060404", "profile_sidebar_border_color": "FFFFFF", "profile_sidebar_fill_color": "FFFFFF", "profile_text_color": "060404", "profile_use_background_image": true, "has_extended_profile": false, "default_profile": false, "default_profile_image": false, "following": null, "follow_request_sent": null, "notifications": null, "translator_type": "none" }, "geo": null, "coordinates": null, "place": null, "contributors": null, "is_quote_status": false, "retweet_count": 69, "favorite_count": 602, "favorited": false, "retweeted": false, "possibly_sensitive": false, "lang": "en" }, ... ] }



Sample Tree

alt text

Request Params

KeyDatatypeRequiredDescription
qstring
result_typestring
countnumber

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring