前言

总所周知,Twitter的官方API需要推特开发者账号,申请流程非常麻烦。很久以前,我写过用Selenium来自动操作浏览器,以达到获取推特上画师mafumuffin的全部插画的功能。但是这种效率还是太低了,还占用了电脑的大量资源。近期我浏览外网时,看到了有关爬取Twitter的文章,里面提供了几个网友抓取出来的Twitter的查询接口,所以我打算重新写一个获取推文的程序。网上没有官方的整理,我会结合官方给出的资料,尽可能多的整理出一些Twitter API。我们把这些API接口先笼统扯呼为“Twitter 访客API”吧。注意:部分官方的API是机翻。
下面的示例都以Python代码展示,在Python代码之前,我们预先写了一下内容:
PLAINTEXT
import requests​# ------ 定义请求时的必要参数 ------​# 代理地址PROXIES = {    'http': 'http://127.0.0.1:7890',    'https': 'http://127.0.0.1:7890'}​# 是否 SSL 验证SSL_VER = False​# 禁用掉警告requests.packages.urllib3.disable_warnings()

Twitter 访客API 基本请求头

推特访客API有反爬措施,下面是网友总结的基本请求头。每次请求时,请求头至少不少于下面的内容。
PLAINTEXT
REQUEST_HEADER =  {  'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0',  'Accept': '*/*',  'Accept-Language': 'zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2',  'x-guest-token': '',  'x-twitter-client-language': 'zh-cn',  'Sec-Fetch-Dest': 'empty',  'Sec-Fetch-Mode': 'cors',  'Sec-Fetch-Site': 'same-origin',  'authorization': 'Bearer AAAAAAAAAAAAAAAAAAAAANRILgAAAAAAnNwIzUejRCOuH5E6I8xnZz4puTs%3D1Zv7ttfk8LF81IUq16cHjhLTvJu4FA33AGWWjCpTnA',  'Referer': 'https://twitter.com/',  'Connection': 'keep-alive'}
其中的 x-guest-token是访客的验证token,想要获取x-guest-token请参考下面的API:获取 guest_token。 其中的authorization是固定值,不会更换。
PLAINTEXT
{ "created_at": "Wed Oct 10 20:19:24 +0000 2018", "id": 1050118621198921728, "id_str": "1050118621198921728", "text": "To make room for more expression, we will now count all emojis as equal—including those with gender‍‍‍ ‍‍and skin t… https://t.co/MkGjXf9aXm", "user": {},   "entities": {}}
上面这个是推特数据返回的一般格式,详情可以参阅 https://developer.twitter.com/en/docs/twitter-api/v1/data-dictionary/object-model/tweet

API:获取 guest_token

接口说明

获取访客验证token,保证其它 Twitter 访客API 可以正常调用。
请求 URL:https://api.twitter.com/1.1/guest/activate.json 请求方式:post
请求头必须携带上面的标准基本请求头中的authorization参数。

接口示例

PLAINTEXT
result = requests.post("https://api.twitter.com/1.1/guest/activate.json", headers=REQUEST_HEADER, proxies=PROXIES, verify=SSL_VER).json()if 'guest_token' not in result:    raise BaseException("获取 Twitter 失败!请确认没有被限制!")print(result['guest_token'])

API:获取用户时间线(user_timeline)

接口说明

返回由 screen_name 或 user_id 参数指示的用户发布的最新推文的集合。 属于受保护用户的用户时间线只能在经过身份验证的用户“拥有”时间线或者是所有者的批准追随者时请求。 返回的时间线相当于在 Twitter 上被视为用户个人资料的时间线。 此方法最多只能返回用户最近的 3,200 条推文,转推包含在此总数中。所以无论在请求此资源时 include_rts 是否设置为 false ,总数仍然按照有转推的计算。 你可以查看官方的文档:https://developer.twitter.com/en/docs/twitter-api/v1/tweets/timelines/api-reference/get-statuses-user_timeline
请求 URL:https://api.twitter.com/1.1/statuses/user_timeline.json 请求方式:get
请求头必须携带上面的标准基本请求头中的authorizationhe和x-guest-token参数。
响应格式 JSON
需要验证 Yes
速率限制 Yes
15分钟内最大请求数(用户验证) 900
15分钟内最大请求数(APP验证) 1500
24小时内最大请求数 100,000
注意:24小时是指你请求发出后的24小时,属于滚动周期。
参数 类型 描述 示例
user_id 可选 返回时间线结果的用户ID。 12345
screen_name 可选 返回时间线结果的用户的显示用户名(推特用户名)。 noradio
since_id 可选 返回 ID 大于(最近更新的)指定 ID 的结果。通过 API 访问推文的数量是有限制的。如果自 since_id 以来已经发生了限制推文的情况,则 since_id 将被强制设置为最早的可用 ID。 12345
count 可选 指定尝试检索的推文数量,每个不同请求最多为 200。count 的值最好被视为返回推文数量的限制,因为在应用了 count 之后,已暂停或已删除的内容将被移除。我们在计数中包括转推,即使未提供 include_rts。建议在使用此 API 方法时始终发送 include_rts=1。
max_id 可选 返回 ID 小于(即早于)或等于指定 ID 的结果。 54321
trim_user 可选 当设置为 true 、 t 或 1 时,时间线中返回的每条推文都将包含一个用户对象,其中仅包含状态作者数字 ID。省略此参数以接收完整的用户对象。 true
exclude_replies 可选 此参数将防止回复出现在返回的时间轴中。将 exclude_replies 与 count 参数一起使用意味着您将收到最多 count 个推文——这是因为 count 参数在过滤掉转推和回复之前检索了那么多推文。 true
include_rts 可选 当设置为 false 时,时间线将去除任何原生转推(尽管它们仍将计入时间线的最大长度和由 count 参数选择的片段)。注意:如果您将 trim_user 参数与 include_rts 结合使用,则转推仍将包含完整的用户对象 false

响应返回示例

https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name=mafumuffin&include_rts=false&exclude_replies=true&count=4
PLAINTEXT
[{"created_at": "Wed Jan 18 10:42:51 +0000 2023","id": 1615660988786962434,"id_str": "1615660988786962434","text": "Windows開いた時に出てくる写真と謎文章、地味に好き","truncated": false,"entities": {"hashtags": [],"symbols": [],"user_mentions": [],"urls": []},"source": "<a href=\"http:\/\/twitter.com\/download\/iphone\" rel=\"nofollow\">Twitter for iPhone<\/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": 1085870390881091586,"id_str": "1085870390881091586","name": "マフィン","screen_name": "mafumuffin","location": "japan","description": "多忙|pkmn\/pkdn|創作|commission→skeb【https:\/\/t.co\/NfgpaBJrzY】(版権は非公開で) or DM|I'm not very good at English.","url": "https:\/\/t.co\/hzc8jBvqvS","entities": {"url": {"urls": [{"url": "https:\/\/t.co\/hzc8jBvqvS","expanded_url": "https:\/\/www.pixiv.net\/users\/52193448","display_url": "pixiv.net\/users\/52193448","indices": [0, 23]}]},"description": {"urls": [{"url": "https:\/\/t.co\/NfgpaBJrzY","expanded_url": "https:\/\/skeb.jp\/@mafumuffin","display_url": "skeb.jp\/@mafumuffin","indices": [32, 55]}]}},"protected": false,"followers_count": 3187,"fast_followers_count": 0,"normal_followers_count": 3187,"friends_count": 15,"listed_count": 19,"created_at": "Thu Jan 17 12:04:10 +0000 2019","favourites_count": 2457,"utc_offset": null,"time_zone": null,"geo_enabled": false,"verified": false,"statuses_count": 7715,"media_count": 615,"lang": null,"contributors_enabled": false,"is_translator": false,"is_translation_enabled": false,"profile_background_color": "F5F8FA","profile_background_image_url": null,"profile_background_image_url_https": null,"profile_background_tile": false,"profile_image_url": "http:\/\/pbs.twimg.com\/profile_images\/1610651394729734146\/syfj49sD_normal.jpg","profile_image_url_https": "https:\/\/pbs.twimg.com\/profile_images\/1610651394729734146\/syfj49sD_normal.jpg","profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/1085870390881091586\/1580476333","profile_link_color": "1DA1F2","profile_sidebar_border_color": "C0DEED","profile_sidebar_fill_color": "DDEEF6","profile_text_color": "333333","profile_use_background_image": true,"has_extended_profile": true,"default_profile": true,"default_profile_image": false,"pinned_tweet_ids": [1562819825239748608],"pinned_tweet_ids_str": ["1562819825239748608"],"has_custom_timelines": true,"following": null,"follow_request_sent": null,"notifications": null,"advertiser_account_type": "promotable_user","advertiser_account_service_levels": ["analytics"],"business_profile_state": "none","translator_type": "none","withheld_in_countries": [],"require_some_consent": false},"geo": null,"coordinates": null,"place": null,"contributors": null,"is_quote_status": false,"retweet_count": 0,"favorite_count": 3,"conversation_id": 1615660988786962434,"conversation_id_str": "1615660988786962434","favorited": false,"retweeted": false,"lang": "ja","supplemental_language": null}, {"created_at": "Tue Jan 17 12:40:57 +0000 2023","id": 1615328321184894976,"id_str": "1615328321184894976","text": "創作の落書きあったから置いとく https:\/\/t.co\/wMD2SsMZnn","truncated": false,"entities": {"hashtags": [],"symbols": [],"user_mentions": [],"urls": [],"media": [{"id": 1615328246748573698,"id_str": "1615328246748573698","indices": [16, 39],"media_url": "http:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","url": "https:\/\/t.co\/wMD2SsMZnn","display_url": "pic.twitter.com\/wMD2SsMZnn","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976\/photo\/1","type": "photo","original_info": {"width": 1400,"height": 1300,"focus_rects": [{"x": 0,"y": 273,"h": 784,"w": 1400}, {"x": 0,"y": 0,"h": 1300,"w": 1300}, {"x": 0,"y": 0,"h": 1300,"w": 1140}, {"x": 0,"y": 0,"h": 1300,"w": 650}, {"x": 0,"y": 0,"h": 1300,"w": 1400}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"medium": {"w": 1200,"h": 1114,"resize": "fit"},"large": {"w": 1400,"h": 1300,"resize": "fit"},"small": {"w": 680,"h": 631,"resize": "fit"}}}]},"extended_entities": {"media": [{"id": 1615328246748573698,"id_str": "1615328246748573698","indices": [16, 39],"media_url": "http:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","url": "https:\/\/t.co\/wMD2SsMZnn","display_url": "pic.twitter.com\/wMD2SsMZnn","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976\/photo\/1","type": "photo","original_info": {"width": 1400,"height": 1300,"focus_rects": [{"x": 0,"y": 273,"h": 784,"w": 1400}, {"x": 0,"y": 0,"h": 1300,"w": 1300}, {"x": 0,"y": 0,"h": 1300,"w": 1140}, {"x": 0,"y": 0,"h": 1300,"w": 650}, {"x": 0,"y": 0,"h": 1300,"w": 1400}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"medium": {"w": 1200,"h": 1114,"resize": "fit"},"large": {"w": 1400,"h": 1300,"resize": "fit"},"small": {"w": 680,"h": 631,"resize": "fit"}},"media_key": "3_1615328246748573698"}]},"source": "<a href=\"https:\/\/mobile.twitter.com\" rel=\"nofollow\">Twitter Web App<\/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": 1085870390881091586,"id_str": "1085870390881091586","name": "マフィン","screen_name": "mafumuffin","location": "japan","description": "多忙|pkmn\/pkdn|創作|commission→skeb【https:\/\/t.co\/NfgpaBJrzY】(版権は非公開で) or DM|I'm not very good at English.","url": "https:\/\/t.co\/hzc8jBvqvS","entities": {"url": {"urls": [{"url": "https:\/\/t.co\/hzc8jBvqvS","expanded_url": "https:\/\/www.pixiv.net\/users\/52193448","display_url": "pixiv.net\/users\/52193448","indices": [0, 23]}]},"description": {"urls": [{"url": "https:\/\/t.co\/NfgpaBJrzY","expanded_url": "https:\/\/skeb.jp\/@mafumuffin","display_url": "skeb.jp\/@mafumuffin","indices": [32, 55]}]}},"protected": false,"followers_count": 3187,"fast_followers_count": 0,"normal_followers_count": 3187,"friends_count": 15,"listed_count": 19,"created_at": "Thu Jan 17 12:04:10 +0000 2019","favourites_count": 2457,"utc_offset": null,"time_zone": null,"geo_enabled": false,"verified": false,"statuses_count": 7715,"media_count": 615,"lang": null,"contributors_enabled": false,"is_translator": false,"is_translation_enabled": false,"profile_background_color": "F5F8FA","profile_background_image_url": null,"profile_background_image_url_https": null,"profile_background_tile": false,"profile_image_url": "http:\/\/pbs.twimg.com\/profile_images\/1610651394729734146\/syfj49sD_normal.jpg","profile_image_url_https": "https:\/\/pbs.twimg.com\/profile_images\/1610651394729734146\/syfj49sD_normal.jpg","profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/1085870390881091586\/1580476333","profile_link_color": "1DA1F2","profile_sidebar_border_color": "C0DEED","profile_sidebar_fill_color": "DDEEF6","profile_text_color": "333333","profile_use_background_image": true,"has_extended_profile": true,"default_profile": true,"default_profile_image": false,"pinned_tweet_ids": [1562819825239748608],"pinned_tweet_ids_str": ["1562819825239748608"],"has_custom_timelines": true,"following": null,"follow_request_sent": null,"notifications": null,"advertiser_account_type": "promotable_user","advertiser_account_service_levels": ["analytics"],"business_profile_state": "none","translator_type": "none","withheld_in_countries": [],"require_some_consent": false},"geo": null,"coordinates": null,"place": null,"contributors": null,"is_quote_status": false,"retweet_count": 5,"favorite_count": 84,"conversation_id": 1615328321184894976,"conversation_id_str": "1615328321184894976","favorited": false,"retweeted": false,"possibly_sensitive": false,"possibly_sensitive_editable": true,"lang": "ja","supplemental_language": null}]
含有视频的返回示例
PLAINTEXT
[{"created_at": "Sun Jul 18 12:30:52 +0000 2021","id": 1416737233093029895,"id_str": "1416737233093029895","text": "pkdn空動画! https:\/\/t.co\/pgqaK7sWce","truncated": false,"entities": {"hashtags": [],"symbols": [],"user_mentions": [],"urls": [],"media": [{"id": 1416732723020853248,"id_str": "1416732723020853248","indices": [9, 32],"media_url": "http:\/\/pbs.twimg.com\/media\/E6k_LjWVkAIyH-i.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/E6k_LjWVkAIyH-i.jpg","url": "https:\/\/t.co\/pgqaK7sWce","display_url": "pic.twitter.com\/pgqaK7sWce","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1416737233093029895\/video\/1","type": "photo","original_info": {"width": 640,"height": 360},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"large": {"w": 640,"h": 360,"resize": "fit"},"medium": {"w": 640,"h": 360,"resize": "fit"},"small": {"w": 640,"h": 360,"resize": "fit"}}}]},"extended_entities": {"media": [{"id": 1416732723020853248,"id_str": "1416732723020853248","indices": [9, 32],"media_url": "http:\/\/pbs.twimg.com\/media\/E6k_LjWVkAIyH-i.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/E6k_LjWVkAIyH-i.jpg","url": "https:\/\/t.co\/pgqaK7sWce","display_url": "pic.twitter.com\/pgqaK7sWce","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1416737233093029895\/video\/1","type": "video","original_info": {"width": 640,"height": 360},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"large": {"w": 640,"h": 360,"resize": "fit"},"medium": {"w": 640,"h": 360,"resize": "fit"},"small": {"w": 640,"h": 360,"resize": "fit"}},"video_info": {"aspect_ratio": [16, 9],"duration_millis": 90767,"variants": [{"bitrate": 288000,"content_type": "video\/mp4","url": "https:\/\/video.twimg.com\/amplify_video\/1416732723020853248\/vid\/480x270\/H7RwH2lJjLZ6kHdl.mp4?tag=14"}, {"bitrate": 832000,"content_type": "video\/mp4","url": "https:\/\/video.twimg.com\/amplify_video\/1416732723020853248\/vid\/640x360\/wEQ-oSn2PUXXABhn.mp4?tag=14"}, {"bitrate": 2176000,"content_type": "video\/mp4","url": "https:\/\/video.twimg.com\/amplify_video\/1416732723020853248\/vid\/1280x720\/uC_ab-Q9pohkojtL.mp4?tag=14"}, {"content_type": "application\/x-mpegURL","url": "https:\/\/video.twimg.com\/amplify_video\/1416732723020853248\/pl\/oFmQgsfcdPeC6eAY.m3u8?tag=14"}]},"media_key": "13_1416732723020853248","additional_media_info": {"title": "","description": "","embeddable": true,"monetizable": false}}]},"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": 1085870390881091586,"id_str": "1085870390881091586","name": "マフィン","screen_name": "mafumuffin","location": "japan","description": "多忙|pkmn\/pkdn|創作|commission→skeb【https:\/\/t.co\/NfgpaBJrzY】(版権は非公開で) or DM|I'm not very good at English.","url": "https:\/\/t.co\/hzc8jBvqvS","entities": {"url": {"urls": [{"url": "https:\/\/t.co\/hzc8jBvqvS","expanded_url": "https:\/\/www.pixiv.net\/users\/52193448","display_url": "pixiv.net\/users\/52193448","indices": [0, 23]}]},"description": {"urls": [{"url": "https:\/\/t.co\/NfgpaBJrzY","expanded_url": "https:\/\/skeb.jp\/@mafumuffin","display_url": "skeb.jp\/@mafumuffin","indices": [32, 55]}]}},"protected": false,"followers_count": 3187,"fast_followers_count": 0,"normal_followers_count": 3187,"friends_count": 15,"listed_count": 19,"created_at": "Thu Jan 17 12:04:10 +0000 2019","favourites_count": 2457,"utc_offset": null,"time_zone": null,"geo_enabled": false,"verified": false,"statuses_count": 7715,"media_count": 615,"lang": null,"contributors_enabled": false,"is_translator": false,"is_translation_enabled": false,"profile_background_color": "F5F8FA","profile_background_image_url": null,"profile_background_image_url_https": null,"profile_background_tile": false,"profile_image_url": "http:\/\/pbs.twimg.com\/profile_images\/1610651394729734146\/syfj49sD_normal.jpg","profile_image_url_https": "https:\/\/pbs.twimg.com\/profile_images\/1610651394729734146\/syfj49sD_normal.jpg","profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/1085870390881091586\/1580476333","profile_link_color": "1DA1F2","profile_sidebar_border_color": "C0DEED","profile_sidebar_fill_color": "DDEEF6","profile_text_color": "333333","profile_use_background_image": true,"has_extended_profile": true,"default_profile": true,"default_profile_image": false,"pinned_tweet_ids": [1562819825239748608],"pinned_tweet_ids_str": ["1562819825239748608"],"has_custom_timelines": true,"following": null,"follow_request_sent": null,"notifications": null,"advertiser_account_type": "promotable_user","advertiser_account_service_levels": ["analytics"],"business_profile_state": "none","translator_type": "none","withheld_in_countries": [],"require_some_consent": false},"geo": null,"coordinates": null,"place": null,"contributors": null,"is_quote_status": false,"retweet_count": 207,"favorite_count": 635,"conversation_id": 1416737233093029895,"conversation_id_str": "1416737233093029895","favorited": false,"retweeted": false,"possibly_sensitive": false,"possibly_sensitive_editable": true,"lang": "ja","supplemental_language": null,"self_thread": {"id": 1416737233093029895,"id_str": "1416737233093029895"}}]

接口示例

PLAINTEXT
result = requests.get("https://api.twitter.com/1.1/statuses/user_timeline.json?""screen_name=mafumuffin&""include_rts=false&""exclude_replies=true&""count=4", headers=REQUEST_HEADER, proxies=PROXIES, verify=SSL_VER).json()for data in result:  # 遍历获取的每个推文print("此条推文发布时间:", data['created_at'])print("此条推文ID:", data['id_str'])print("此条推文内容:", data['text'])if 'media' not in data['entities']:print("此条推文携带的附件:无\n", end="")print("-"*100)continueprint("此条推文携带的附件:\n", end="")for medium in data['extended_entities']['media']:print(f"{medium['media_url']}")if medium['type'] == 'photo':for size in medium['sizes'].keys():print(f"{size}: {medium['media_url']}?format=jpg&name={size}")elif medium['type'] == 'video':for variant in medium['video_info']['variants']:print(f"{variant['content_type']} {variant['bitrate'] if 'bitrate' in variant else 'm3u8'}: {variant['url']}")print("-"*100)

API:获取推文数据

接口说明

返回由 id 参数指定的单个推文,推文的作者也将嵌入推文中。 你可以查看官方的文档:https://developer.twitter.com/en/docs/twitter-api/v1/tweets/post-and-engage/api-reference/get-statuses-show-id
请求 URL:https://api.twitter.com/1.1/statuses/show.json 请求方式:get
请求头必须携带上面的标准基本请求头中的authorizationhe和x-guest-token参数。
响应格式 JSON
需要验证 Yes
速率限制 Yes
15分钟内最大请求数(用户验证) 900
15分钟内最大请求数(APP验证) 900
参数 类型 描述 示例
id 必须 推文的ID。 123
trim_user 可选 当设置为 true 、 t 或 1 时,时间线中返回的每条推文都将包含一个用户对象,其中仅包含状态作者数字 ID。省略此参数以接收完整的用户对象。 true
include_my_retweet 可选 当设置为 true 、 t 或 1 时,验证用户转发的任何返回的推文都将包含一个额外的 current_user_retweet 节点,其中包含转发的源状态的 ID。 true
include_entities 可选 设置为 false 时将不包括附件。 false
include_ext_alt_text 可选 如果替代文本已添加到任何附加的媒体实体,此参数将在媒体实体的顶级键中返回一个 ext_alt_text 值。如果未设置任何值,则返回 null true
include_card_uri 可选 当设置为 true 、 t 或 1 时,检索到的推文将包含 card_uri 属性,前提是推文附加了一张广告卡片,并且该卡片是使用 card_uri 值附加的。 true

响应返回示例

https://api.twitter.com/1.1/statuses/show.json?id=1615328321184894976&include_my_retweet=true
PLAINTEXT
{"created_at": "Tue Jan 17 12:40:57 +0000 2023","id": 1615328321184894976,"id_str": "1615328321184894976","text": "創作の落書きあったから置いとく https:\/\/t.co\/wMD2SsMZnn","truncated": false,"entities": {"hashtags": [],"symbols": [],"user_mentions": [],"urls": [],"media": [{"id": 1615328246748573698,"id_str": "1615328246748573698","indices": [16, 39],"media_url": "http:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","url": "https:\/\/t.co\/wMD2SsMZnn","display_url": "pic.twitter.com\/wMD2SsMZnn","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976\/photo\/1","type": "photo","original_info": {"width": 1400,"height": 1300,"focus_rects": [{"x": 0,"y": 273,"h": 784,"w": 1400}, {"x": 0,"y": 0,"h": 1300,"w": 1300}, {"x": 0,"y": 0,"h": 1300,"w": 1140}, {"x": 0,"y": 0,"h": 1300,"w": 650}, {"x": 0,"y": 0,"h": 1300,"w": 1400}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"medium": {"w": 1200,"h": 1114,"resize": "fit"},"large": {"w": 1400,"h": 1300,"resize": "fit"},"small": {"w": 680,"h": 631,"resize": "fit"}}}]},"extended_entities": {"media": [{"id": 1615328246748573698,"id_str": "1615328246748573698","indices": [16, 39],"media_url": "http:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","url": "https:\/\/t.co\/wMD2SsMZnn","display_url": "pic.twitter.com\/wMD2SsMZnn","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976\/photo\/1","type": "photo","original_info": {"width": 1400,"height": 1300,"focus_rects": [{"x": 0,"y": 273,"h": 784,"w": 1400}, {"x": 0,"y": 0,"h": 1300,"w": 1300}, {"x": 0,"y": 0,"h": 1300,"w": 1140}, {"x": 0,"y": 0,"h": 1300,"w": 650}, {"x": 0,"y": 0,"h": 1300,"w": 1400}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"medium": {"w": 1200,"h": 1114,"resize": "fit"},"large": {"w": 1400,"h": 1300,"resize": "fit"},"small": {"w": 680,"h": 631,"resize": "fit"}},"media_key": "3_1615328246748573698"}]},"source": "<a href=\"https:\/\/mobile.twitter.com\" rel=\"nofollow\">Twitter Web App<\/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": 1085870390881091586,"id_str": "1085870390881091586","name": "マフィン","screen_name": "mafumuffin","location": "japan","description": "多忙|pkmn\/pkdn|創作|commission→skeb【https:\/\/t.co\/NfgpaBJrzY】(版権は非公開で) or DM|I'm not very good at English.","url": "https:\/\/t.co\/hzc8jBvqvS","entities": {"url": {"urls": [{"url": "https:\/\/t.co\/hzc8jBvqvS","expanded_url": "https:\/\/www.pixiv.net\/users\/52193448","display_url": "pixiv.net\/users\/52193448","indices": [0, 23]}]},"description": {"urls": [{"url": "https:\/\/t.co\/NfgpaBJrzY","expanded_url": "https:\/\/skeb.jp\/@mafumuffin","display_url": "skeb.jp\/@mafumuffin","indices": [32, 55]}]}},"protected": false,"followers_count": 3186,"fast_followers_count": 0,"normal_followers_count": 3186,"friends_count": 15,"listed_count": 19,"created_at": "Thu Jan 17 12:04:10 +0000 2019","favourites_count": 2457,"utc_offset": null,"time_zone": null,"geo_enabled": false,"verified": false,"statuses_count": 7715,"media_count": 615,"lang": null,"contributors_enabled": false,"is_translator": false,"is_translation_enabled": false,"profile_background_color": "F5F8FA","profile_background_image_url": null,"profile_background_image_url_https": null,"profile_background_tile": false,"profile_image_url": "http:\/\/pbs.twimg.com\/profile_images\/1610651394729734146\/syfj49sD_normal.jpg","profile_image_url_https": "https:\/\/pbs.twimg.com\/profile_images\/1610651394729734146\/syfj49sD_normal.jpg","profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/1085870390881091586\/1580476333","profile_link_color": "1DA1F2","profile_sidebar_border_color": "C0DEED","profile_sidebar_fill_color": "DDEEF6","profile_text_color": "333333","profile_use_background_image": true,"has_extended_profile": true,"default_profile": true,"default_profile_image": false,"pinned_tweet_ids": [1562819825239748608],"pinned_tweet_ids_str": ["1562819825239748608"],"has_custom_timelines": true,"following": null,"follow_request_sent": null,"notifications": null,"advertiser_account_type": "promotable_user","advertiser_account_service_levels": ["analytics"],"business_profile_state": "none","translator_type": "none","withheld_in_countries": [],"require_some_consent": false},"geo": null,"coordinates": null,"place": null,"contributors": null,"is_quote_status": false,"retweet_count": 5,"favorite_count": 84,"favorited": false,"retweeted": false,"possibly_sensitive": false,"possibly_sensitive_appealable": false,"possibly_sensitive_editable": true,"lang": "ja","supplemental_language": null}

API:获取转推数据

接口说明

返回由 id 参数指定的推文的 100 个最近转推的集合。 你可以查看官方的文档:https://developer.twitter.com/en/docs/twitter-api/v1/tweets/post-and-engage/api-reference/get-statuses-retweets-id
请求 URL:https://api.twitter.com/1.1/statuses/retweets/:id.json 请求方式:get
请求头必须携带上面的标准基本请求头中的authorizationhe和x-guest-token参数。
响应格式 JSON
需要验证 Yes
速率限制 Yes
15分钟内最大请求数(用户验证) 75
15分钟内最大请求数(APP验证) 300
参数 类型 描述 示例
id 必须 推文的ID。 123
trim_user 可选 当设置为 true 、 t 或 1 时,时间线中返回的每条推文都将包含一个用户对象,其中仅包含状态作者数字 ID。省略此参数以接收完整的用户对象。 true
count 可选 指定要检索的记录数。必须小于或等于 100。 true

响应返回示例

https://api.twitter.com/1.1/statuses/retweets/1615328321184894976.json
PLAINTEXT
[{"created_at": "Wed Jan 18 03:48:17 +0000 2023","id": 1615556657265901569,"id_str": "1615556657265901569","text": "RT @mafumuffin: 創作の落書きあったから置いとく https:\/\/t.co\/wMD2SsMZnn","truncated": false,"entities": {"hashtags": [],"symbols": [],"user_mentions": [{"screen_name": "mafumuffin","name": "マフィン","id": 1085870390881091586,"id_str": "1085870390881091586","indices": [3, 14]}],"urls": [],"media": [{"id": 1615328246748573698,"id_str": "1615328246748573698","indices": [32, 55],"media_url": "http:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","url": "https:\/\/t.co\/wMD2SsMZnn","display_url": "pic.twitter.com\/wMD2SsMZnn","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976\/photo\/1","type": "photo","original_info": {"width": 1400,"height": 1300,"focus_rects": [{"x": 0,"y": 273,"h": 784,"w": 1400}, {"x": 0,"y": 0,"h": 1300,"w": 1300}, {"x": 0,"y": 0,"h": 1300,"w": 1140}, {"x": 0,"y": 0,"h": 1300,"w": 650}, {"x": 0,"y": 0,"h": 1300,"w": 1400}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"medium": {"w": 1200,"h": 1114,"resize": "fit"},"large": {"w": 1400,"h": 1300,"resize": "fit"},"small": {"w": 680,"h": 631,"resize": "fit"}},"source_status_id": 1615328321184894976,"source_status_id_str": "1615328321184894976","source_user_id": 1085870390881091586,"source_user_id_str": "1085870390881091586"}]},"extended_entities": {"media": [{"id": 1615328246748573698,"id_str": "1615328246748573698","indices": [32, 55],"media_url": "http:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","url": "https:\/\/t.co\/wMD2SsMZnn","display_url": "pic.twitter.com\/wMD2SsMZnn","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976\/photo\/1","type": "photo","original_info": {"width": 1400,"height": 1300,"focus_rects": [{"x": 0,"y": 273,"h": 784,"w": 1400}, {"x": 0,"y": 0,"h": 1300,"w": 1300}, {"x": 0,"y": 0,"h": 1300,"w": 1140}, {"x": 0,"y": 0,"h": 1300,"w": 650}, {"x": 0,"y": 0,"h": 1300,"w": 1400}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"medium": {"w": 1200,"h": 1114,"resize": "fit"},"large": {"w": 1400,"h": 1300,"resize": "fit"},"small": {"w": 680,"h": 631,"resize": "fit"}},"source_status_id": 1615328321184894976,"source_status_id_str": "1615328321184894976","source_user_id": 1085870390881091586,"source_user_id_str": "1085870390881091586","media_key": "3_1615328246748573698"}]},"source": "<a href=\"https:\/\/mobile.twitter.com\" rel=\"nofollow\">Twitter Web App<\/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": 1454053574778834947,"id_str": "1454053574778834947","name": "Chuchar","screen_name": "Chucharoll","location": "vietnam","description": "↥ 18\nUsername roblox: Lienleth9\nFandom: Pokémon, Countryhumans","url": "https:\/\/t.co\/2kDCstsjVw","entities": {"url": {"urls": [{"url": "https:\/\/t.co\/2kDCstsjVw","expanded_url": "https:\/\/www.facebook.com\/profile.php?id=100052939905089","display_url": "facebook.com\/profile.php?id…","indices": [0, 23]}]},"description": {"urls": []}},"protected": false,"followers_count": 46,"fast_followers_count": 0,"normal_followers_count": 46,"friends_count": 941,"listed_count": 0,"created_at": "Fri Oct 29 11:52:54 +0000 2021","favourites_count": 20575,"utc_offset": null,"time_zone": null,"geo_enabled": false,"verified": false,"statuses_count": 28199,"media_count": 15,"lang": null,"contributors_enabled": false,"is_translator": false,"is_translation_enabled": false,"profile_background_color": "F5F8FA","profile_background_image_url": null,"profile_background_image_url_https": null,"profile_background_tile": false,"profile_image_url": "http:\/\/pbs.twimg.com\/profile_images\/1525269709536366593\/q5BwWokm_normal.jpg","profile_image_url_https": "https:\/\/pbs.twimg.com\/profile_images\/1525269709536366593\/q5BwWokm_normal.jpg","profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/1454053574778834947\/1652487613","profile_link_color": "1DA1F2","profile_sidebar_border_color": "C0DEED","profile_sidebar_fill_color": "DDEEF6","profile_text_color": "333333","profile_use_background_image": true,"has_extended_profile": true,"default_profile": true,"default_profile_image": false,"pinned_tweet_ids": [],"pinned_tweet_ids_str": [],"has_custom_timelines": false,"following": null,"follow_request_sent": null,"notifications": null,"advertiser_account_type": "none","advertiser_account_service_levels": [],"business_profile_state": "none","translator_type": "none","withheld_in_countries": [],"require_some_consent": false},"geo": null,"coordinates": null,"place": null,"contributors": null,"retweeted_status": {"created_at": "Tue Jan 17 12:40:57 +0000 2023","id": 1615328321184894976,"id_str": "1615328321184894976","text": "創作の落書きあったから置いとく https:\/\/t.co\/wMD2SsMZnn","truncated": false,"entities": {"hashtags": [],"symbols": [],"user_mentions": [],"urls": [],"media": [{"id": 1615328246748573698,"id_str": "1615328246748573698","indices": [16, 39],"media_url": "http:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","url": "https:\/\/t.co\/wMD2SsMZnn","display_url": "pic.twitter.com\/wMD2SsMZnn","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976\/photo\/1","type": "photo","original_info": {"width": 1400,"height": 1300,"focus_rects": [{"x": 0,"y": 273,"h": 784,"w": 1400}, {"x": 0,"y": 0,"h": 1300,"w": 1300}, {"x": 0,"y": 0,"h": 1300,"w": 1140}, {"x": 0,"y": 0,"h": 1300,"w": 650}, {"x": 0,"y": 0,"h": 1300,"w": 1400}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"medium": {"w": 1200,"h": 1114,"resize": "fit"},"large": {"w": 1400,"h": 1300,"resize": "fit"},"small": {"w": 680,"h": 631,"resize": "fit"}}}]},"extended_entities": {"media": [{"id": 1615328246748573698,"id_str": "1615328246748573698","indices": [16, 39],"media_url": "http:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","url": "https:\/\/t.co\/wMD2SsMZnn","display_url": "pic.twitter.com\/wMD2SsMZnn","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976\/photo\/1","type": "photo","original_info": {"width": 1400,"height": 1300,"focus_rects": [{"x": 0,"y": 273,"h": 784,"w": 1400}, {"x": 0,"y": 0,"h": 1300,"w": 1300}, {"x": 0,"y": 0,"h": 1300,"w": 1140}, {"x": 0,"y": 0,"h": 1300,"w": 650}, {"x": 0,"y": 0,"h": 1300,"w": 1400}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"medium": {"w": 1200,"h": 1114,"resize": "fit"},"large": {"w": 1400,"h": 1300,"resize": "fit"},"small": {"w": 680,"h": 631,"resize": "fit"}},"media_key": "3_1615328246748573698"}]},"source": "<a href=\"https:\/\/mobile.twitter.com\" rel=\"nofollow\">Twitter Web App<\/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": 1085870390881091586,"id_str": "1085870390881091586","name": "マフィン","screen_name": "mafumuffin","location": "japan","description": "多忙|pkmn\/pkdn|創作|commission→skeb【https:\/\/t.co\/NfgpaBJrzY】(版権は非公開で) or DM|I'm not very good at English.","url": "https:\/\/t.co\/hzc8jBvqvS","entities": {"url": {"urls": [{"url": "https:\/\/t.co\/hzc8jBvqvS","expanded_url": "https:\/\/www.pixiv.net\/users\/52193448","display_url": "pixiv.net\/users\/52193448","indices": [0, 23]}]},"description": {"urls": [{"url": "https:\/\/t.co\/NfgpaBJrzY","expanded_url": "https:\/\/skeb.jp\/@mafumuffin","display_url": "skeb.jp\/@mafumuffin","indices": [32, 55]}]}},"protected": false,"followers_count": 3186,"fast_followers_count": 0,"normal_followers_count": 3186,"friends_count": 15,"listed_count": 19,"created_at": "Thu Jan 17 12:04:10 +0000 2019","favourites_count": 2457,"utc_offset": null,"time_zone": null,"geo_enabled": false,"verified": false,"statuses_count": 7715,"media_count": 615,"lang": null,"contributors_enabled": false,"is_translator": false,"is_translation_enabled": false,"profile_background_color": "F5F8FA","profile_background_image_url": null,"profile_background_image_url_https": null,"profile_background_tile": false,"profile_image_url": "http:\/\/pbs.twimg.com\/profile_images\/1610651394729734146\/syfj49sD_normal.jpg","profile_image_url_https": "https:\/\/pbs.twimg.com\/profile_images\/1610651394729734146\/syfj49sD_normal.jpg","profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/1085870390881091586\/1580476333","profile_link_color": "1DA1F2","profile_sidebar_border_color": "C0DEED","profile_sidebar_fill_color": "DDEEF6","profile_text_color": "333333","profile_use_background_image": true,"has_extended_profile": true,"default_profile": true,"default_profile_image": false,"pinned_tweet_ids": [1562819825239748608],"pinned_tweet_ids_str": ["1562819825239748608"],"has_custom_timelines": true,"following": null,"follow_request_sent": null,"notifications": null,"advertiser_account_type": "promotable_user","advertiser_account_service_levels": ["analytics"],"business_profile_state": "none","translator_type": "none","withheld_in_countries": [],"require_some_consent": false},"geo": null,"coordinates": null,"place": null,"contributors": null,"is_quote_status": false,"retweet_count": 5,"favorite_count": 84,"conversation_id": 1615328321184894976,"conversation_id_str": "1615328321184894976","favorited": false,"retweeted": false,"possibly_sensitive": false,"possibly_sensitive_editable": true,"lang": "ja","supplemental_language": null},"is_quote_status": false,"retweet_count": 5,"favorite_count": 0,"conversation_id": 1615556657265901569,"conversation_id_str": "1615556657265901569","favorited": false,"retweeted": false,"possibly_sensitive": false,"possibly_sensitive_editable": true,"lang": "ja","supplemental_language": null}, {"created_at": "Tue Jan 17 14:42:32 +0000 2023","id": 1615358918074441728,"id_str": "1615358918074441728","text": "RT @mafumuffin: 創作の落書きあったから置いとく https:\/\/t.co\/wMD2SsMZnn","truncated": false,"entities": {"hashtags": [],"symbols": [],"user_mentions": [{"screen_name": "mafumuffin","name": "マフィン","id": 1085870390881091586,"id_str": "1085870390881091586","indices": [3, 14]}],"urls": [],"media": [{"id": 1615328246748573698,"id_str": "1615328246748573698","indices": [32, 55],"media_url": "http:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","url": "https:\/\/t.co\/wMD2SsMZnn","display_url": "pic.twitter.com\/wMD2SsMZnn","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976\/photo\/1","type": "photo","original_info": {"width": 1400,"height": 1300,"focus_rects": [{"x": 0,"y": 273,"h": 784,"w": 1400}, {"x": 0,"y": 0,"h": 1300,"w": 1300}, {"x": 0,"y": 0,"h": 1300,"w": 1140}, {"x": 0,"y": 0,"h": 1300,"w": 650}, {"x": 0,"y": 0,"h": 1300,"w": 1400}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"medium": {"w": 1200,"h": 1114,"resize": "fit"},"large": {"w": 1400,"h": 1300,"resize": "fit"},"small": {"w": 680,"h": 631,"resize": "fit"}},"source_status_id": 1615328321184894976,"source_status_id_str": "1615328321184894976","source_user_id": 1085870390881091586,"source_user_id_str": "1085870390881091586"}]},"extended_entities": {"media": [{"id": 1615328246748573698,"id_str": "1615328246748573698","indices": [32, 55],"media_url": "http:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","url": "https:\/\/t.co\/wMD2SsMZnn","display_url": "pic.twitter.com\/wMD2SsMZnn","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976\/photo\/1","type": "photo","original_info": {"width": 1400,"height": 1300,"focus_rects": [{"x": 0,"y": 273,"h": 784,"w": 1400}, {"x": 0,"y": 0,"h": 1300,"w": 1300}, {"x": 0,"y": 0,"h": 1300,"w": 1140}, {"x": 0,"y": 0,"h": 1300,"w": 650}, {"x": 0,"y": 0,"h": 1300,"w": 1400}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"medium": {"w": 1200,"h": 1114,"resize": "fit"},"large": {"w": 1400,"h": 1300,"resize": "fit"},"small": {"w": 680,"h": 631,"resize": "fit"}},"source_status_id": 1615328321184894976,"source_status_id_str": "1615328321184894976","source_user_id": 1085870390881091586,"source_user_id_str": "1085870390881091586","media_key": "3_1615328246748573698"}]},"source": "<a href=\"https:\/\/mobile.twitter.com\" rel=\"nofollow\">Twitter Web App<\/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": 932741838880038918,"id_str": "932741838880038918","name": "bird brain","screen_name": "Ace_Valliant","location": "","description": "Sorry for possible spams of likes\/retweets, i simply can't control myself ;w; SFW only but some retweets may be from NSFW accounts, so stay aware","url": null,"entities": {"description": {"urls": []}},"protected": false,"followers_count": 82,"fast_followers_count": 0,"normal_followers_count": 82,"friends_count": 555,"listed_count": 1,"created_at": "Mon Nov 20 22:45:58 +0000 2017","favourites_count": 168739,"utc_offset": null,"time_zone": null,"geo_enabled": false,"verified": false,"statuses_count": 96624,"media_count": 680,"lang": null,"contributors_enabled": false,"is_translator": false,"is_translation_enabled": false,"profile_background_color": "000000","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\/1607921667967164418\/MMycB31x_normal.jpg","profile_image_url_https": "https:\/\/pbs.twimg.com\/profile_images\/1607921667967164418\/MMycB31x_normal.jpg","profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/932741838880038918\/1656365971","profile_link_color": "FF5349","profile_sidebar_border_color": "000000","profile_sidebar_fill_color": "000000","profile_text_color": "000000","profile_use_background_image": false,"has_extended_profile": true,"default_profile": false,"default_profile_image": false,"pinned_tweet_ids": [1535392698005331968],"pinned_tweet_ids_str": ["1535392698005331968"],"has_custom_timelines": true,"following": null,"follow_request_sent": null,"notifications": null,"advertiser_account_type": "promotable_user","advertiser_account_service_levels": ["analytics"],"business_profile_state": "none","translator_type": "none","withheld_in_countries": [],"require_some_consent": false},"geo": null,"coordinates": null,"place": null,"contributors": null,"retweeted_status": {"created_at": "Tue Jan 17 12:40:57 +0000 2023","id": 1615328321184894976,"id_str": "1615328321184894976","text": "創作の落書きあったから置いとく https:\/\/t.co\/wMD2SsMZnn","truncated": false,"entities": {"hashtags": [],"symbols": [],"user_mentions": [],"urls": [],"media": [{"id": 1615328246748573698,"id_str": "1615328246748573698","indices": [16, 39],"media_url": "http:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","url": "https:\/\/t.co\/wMD2SsMZnn","display_url": "pic.twitter.com\/wMD2SsMZnn","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976\/photo\/1","type": "photo","original_info": {"width": 1400,"height": 1300,"focus_rects": [{"x": 0,"y": 273,"h": 784,"w": 1400}, {"x": 0,"y": 0,"h": 1300,"w": 1300}, {"x": 0,"y": 0,"h": 1300,"w": 1140}, {"x": 0,"y": 0,"h": 1300,"w": 650}, {"x": 0,"y": 0,"h": 1300,"w": 1400}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"medium": {"w": 1200,"h": 1114,"resize": "fit"},"large": {"w": 1400,"h": 1300,"resize": "fit"},"small": {"w": 680,"h": 631,"resize": "fit"}}}]},"extended_entities": {"media": [{"id": 1615328246748573698,"id_str": "1615328246748573698","indices": [16, 39],"media_url": "http:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","url": "https:\/\/t.co\/wMD2SsMZnn","display_url": "pic.twitter.com\/wMD2SsMZnn","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976\/photo\/1","type": "photo","original_info": {"width": 1400,"height": 1300,"focus_rects": [{"x": 0,"y": 273,"h": 784,"w": 1400}, {"x": 0,"y": 0,"h": 1300,"w": 1300}, {"x": 0,"y": 0,"h": 1300,"w": 1140}, {"x": 0,"y": 0,"h": 1300,"w": 650}, {"x": 0,"y": 0,"h": 1300,"w": 1400}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"medium": {"w": 1200,"h": 1114,"resize": "fit"},"large": {"w": 1400,"h": 1300,"resize": "fit"},"small": {"w": 680,"h": 631,"resize": "fit"}},"media_key": "3_1615328246748573698"}]},"source": "<a href=\"https:\/\/mobile.twitter.com\" rel=\"nofollow\">Twitter Web App<\/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": 1085870390881091586,"id_str": "1085870390881091586","name": "マフィン","screen_name": "mafumuffin","location": "japan","description": "多忙|pkmn\/pkdn|創作|commission→skeb【https:\/\/t.co\/NfgpaBJrzY】(版権は非公開で) or DM|I'm not very good at English.","url": "https:\/\/t.co\/hzc8jBvqvS","entities": {"url": {"urls": [{"url": "https:\/\/t.co\/hzc8jBvqvS","expanded_url": "https:\/\/www.pixiv.net\/users\/52193448","display_url": "pixiv.net\/users\/52193448","indices": [0, 23]}]},"description": {"urls": [{"url": "https:\/\/t.co\/NfgpaBJrzY","expanded_url": "https:\/\/skeb.jp\/@mafumuffin","display_url": "skeb.jp\/@mafumuffin","indices": [32, 55]}]}},"protected": false,"followers_count": 3186,"fast_followers_count": 0,"normal_followers_count": 3186,"friends_count": 15,"listed_count": 19,"created_at": "Thu Jan 17 12:04:10 +0000 2019","favourites_count": 2457,"utc_offset": null,"time_zone": null,"geo_enabled": false,"verified": false,"statuses_count": 7715,"media_count": 615,"lang": null,"contributors_enabled": false,"is_translator": false,"is_translation_enabled": false,"profile_background_color": "F5F8FA","profile_background_image_url": null,"profile_background_image_url_https": null,"profile_background_tile": false,"profile_image_url": "http:\/\/pbs.twimg.com\/profile_images\/1610651394729734146\/syfj49sD_normal.jpg","profile_image_url_https": "https:\/\/pbs.twimg.com\/profile_images\/1610651394729734146\/syfj49sD_normal.jpg","profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/1085870390881091586\/1580476333","profile_link_color": "1DA1F2","profile_sidebar_border_color": "C0DEED","profile_sidebar_fill_color": "DDEEF6","profile_text_color": "333333","profile_use_background_image": true,"has_extended_profile": true,"default_profile": true,"default_profile_image": false,"pinned_tweet_ids": [1562819825239748608],"pinned_tweet_ids_str": ["1562819825239748608"],"has_custom_timelines": true,"following": null,"follow_request_sent": null,"notifications": null,"advertiser_account_type": "promotable_user","advertiser_account_service_levels": ["analytics"],"business_profile_state": "none","translator_type": "none","withheld_in_countries": [],"require_some_consent": false},"geo": null,"coordinates": null,"place": null,"contributors": null,"is_quote_status": false,"retweet_count": 5,"favorite_count": 84,"conversation_id": 1615328321184894976,"conversation_id_str": "1615328321184894976","favorited": false,"retweeted": false,"possibly_sensitive": false,"possibly_sensitive_editable": true,"lang": "ja","supplemental_language": null},"is_quote_status": false,"retweet_count": 5,"favorite_count": 0,"conversation_id": 1615358918074441728,"conversation_id_str": "1615358918074441728","favorited": false,"retweeted": false,"possibly_sensitive": false,"possibly_sensitive_editable": true,"lang": "ja","supplemental_language": null}, {"created_at": "Tue Jan 17 13:25:39 +0000 2023","id": 1615339567426732032,"id_str": "1615339567426732032","text": "RT @mafumuffin: 創作の落書きあったから置いとく https:\/\/t.co\/wMD2SsMZnn","truncated": false,"entities": {"hashtags": [],"symbols": [],"user_mentions": [{"screen_name": "mafumuffin","name": "マフィン","id": 1085870390881091586,"id_str": "1085870390881091586","indices": [3, 14]}],"urls": [],"media": [{"id": 1615328246748573698,"id_str": "1615328246748573698","indices": [32, 55],"media_url": "http:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","url": "https:\/\/t.co\/wMD2SsMZnn","display_url": "pic.twitter.com\/wMD2SsMZnn","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976\/photo\/1","type": "photo","original_info": {"width": 1400,"height": 1300,"focus_rects": [{"x": 0,"y": 273,"h": 784,"w": 1400}, {"x": 0,"y": 0,"h": 1300,"w": 1300}, {"x": 0,"y": 0,"h": 1300,"w": 1140}, {"x": 0,"y": 0,"h": 1300,"w": 650}, {"x": 0,"y": 0,"h": 1300,"w": 1400}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"medium": {"w": 1200,"h": 1114,"resize": "fit"},"large": {"w": 1400,"h": 1300,"resize": "fit"},"small": {"w": 680,"h": 631,"resize": "fit"}},"source_status_id": 1615328321184894976,"source_status_id_str": "1615328321184894976","source_user_id": 1085870390881091586,"source_user_id_str": "1085870390881091586"}]},"extended_entities": {"media": [{"id": 1615328246748573698,"id_str": "1615328246748573698","indices": [32, 55],"media_url": "http:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","url": "https:\/\/t.co\/wMD2SsMZnn","display_url": "pic.twitter.com\/wMD2SsMZnn","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976\/photo\/1","type": "photo","original_info": {"width": 1400,"height": 1300,"focus_rects": [{"x": 0,"y": 273,"h": 784,"w": 1400}, {"x": 0,"y": 0,"h": 1300,"w": 1300}, {"x": 0,"y": 0,"h": 1300,"w": 1140}, {"x": 0,"y": 0,"h": 1300,"w": 650}, {"x": 0,"y": 0,"h": 1300,"w": 1400}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"medium": {"w": 1200,"h": 1114,"resize": "fit"},"large": {"w": 1400,"h": 1300,"resize": "fit"},"small": {"w": 680,"h": 631,"resize": "fit"}},"source_status_id": 1615328321184894976,"source_status_id_str": "1615328321184894976","source_user_id": 1085870390881091586,"source_user_id_str": "1085870390881091586","media_key": "3_1615328246748573698"}]},"source": "<a href=\"http:\/\/twitter.com\/download\/android\" rel=\"nofollow\">Twitter for Android<\/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": 1041447713827520513,"id_str": "1041447713827520513","name": "どむさん","screen_name": "honnakaasyamann","location": "かがみの孤城はいいぞ","description": "ポケモン・ポケダン・ポケマス・ケモノ・TF好き\/最推しはアシマリ\/RT多め、適宜「リツイートは表示しない」を\ni: @pikatiu_3104\nh: @sorasan1107\nポケ小説: @sousakuasyamann\n18禁: @sabuakaasyamann","url": "https:\/\/t.co\/JiSzmxXH8w","entities": {"url": {"urls": [{"url": "https:\/\/t.co\/JiSzmxXH8w","expanded_url": "https:\/\/hub.sorakaze.info\/users\/honnakaasyamann","display_url": "hub.sorakaze.info\/users\/honnakaa…","indices": [0, 23]}]},"description": {"urls": []}},"protected": false,"followers_count": 520,"fast_followers_count": 0,"normal_followers_count": 520,"friends_count": 394,"listed_count": 22,"created_at": "Sun Sep 16 22:04:18 +0000 2018","favourites_count": 359972,"utc_offset": null,"time_zone": null,"geo_enabled": true,"verified": false,"statuses_count": 149442,"media_count": 932,"lang": null,"contributors_enabled": false,"is_translator": false,"is_translation_enabled": false,"profile_background_color": "F5F8FA","profile_background_image_url": null,"profile_background_image_url_https": null,"profile_background_tile": false,"profile_image_url": "http:\/\/pbs.twimg.com\/profile_images\/1614973308721836033\/v_DFr4RB_normal.jpg","profile_image_url_https": "https:\/\/pbs.twimg.com\/profile_images\/1614973308721836033\/v_DFr4RB_normal.jpg","profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/1041447713827520513\/1559299561","profile_link_color": "1DA1F2","profile_sidebar_border_color": "C0DEED","profile_sidebar_fill_color": "DDEEF6","profile_text_color": "333333","profile_use_background_image": true,"has_extended_profile": true,"default_profile": true,"default_profile_image": false,"pinned_tweet_ids": [1041458185440178176],"pinned_tweet_ids_str": ["1041458185440178176"],"has_custom_timelines": true,"following": null,"follow_request_sent": null,"notifications": null,"advertiser_account_type": "promotable_user","advertiser_account_service_levels": ["analytics"],"business_profile_state": "none","translator_type": "none","withheld_in_countries": [],"require_some_consent": false},"geo": null,"coordinates": null,"place": null,"contributors": null,"retweeted_status": {"created_at": "Tue Jan 17 12:40:57 +0000 2023","id": 1615328321184894976,"id_str": "1615328321184894976","text": "創作の落書きあったから置いとく https:\/\/t.co\/wMD2SsMZnn","truncated": false,"entities": {"hashtags": [],"symbols": [],"user_mentions": [],"urls": [],"media": [{"id": 1615328246748573698,"id_str": "1615328246748573698","indices": [16, 39],"media_url": "http:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","url": "https:\/\/t.co\/wMD2SsMZnn","display_url": "pic.twitter.com\/wMD2SsMZnn","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976\/photo\/1","type": "photo","original_info": {"width": 1400,"height": 1300,"focus_rects": [{"x": 0,"y": 273,"h": 784,"w": 1400}, {"x": 0,"y": 0,"h": 1300,"w": 1300}, {"x": 0,"y": 0,"h": 1300,"w": 1140}, {"x": 0,"y": 0,"h": 1300,"w": 650}, {"x": 0,"y": 0,"h": 1300,"w": 1400}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"medium": {"w": 1200,"h": 1114,"resize": "fit"},"large": {"w": 1400,"h": 1300,"resize": "fit"},"small": {"w": 680,"h": 631,"resize": "fit"}}}]},"extended_entities": {"media": [{"id": 1615328246748573698,"id_str": "1615328246748573698","indices": [16, 39],"media_url": "http:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","url": "https:\/\/t.co\/wMD2SsMZnn","display_url": "pic.twitter.com\/wMD2SsMZnn","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976\/photo\/1","type": "photo","original_info": {"width": 1400,"height": 1300,"focus_rects": [{"x": 0,"y": 273,"h": 784,"w": 1400}, {"x": 0,"y": 0,"h": 1300,"w": 1300}, {"x": 0,"y": 0,"h": 1300,"w": 1140}, {"x": 0,"y": 0,"h": 1300,"w": 650}, {"x": 0,"y": 0,"h": 1300,"w": 1400}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"medium": {"w": 1200,"h": 1114,"resize": "fit"},"large": {"w": 1400,"h": 1300,"resize": "fit"},"small": {"w": 680,"h": 631,"resize": "fit"}},"media_key": "3_1615328246748573698"}]},"source": "<a href=\"https:\/\/mobile.twitter.com\" rel=\"nofollow\">Twitter Web App<\/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": 1085870390881091586,"id_str": "1085870390881091586","name": "マフィン","screen_name": "mafumuffin","location": "japan","description": "多忙|pkmn\/pkdn|創作|commission→skeb【https:\/\/t.co\/NfgpaBJrzY】(版権は非公開で) or DM|I'm not very good at English.","url": "https:\/\/t.co\/hzc8jBvqvS","entities": {"url": {"urls": [{"url": "https:\/\/t.co\/hzc8jBvqvS","expanded_url": "https:\/\/www.pixiv.net\/users\/52193448","display_url": "pixiv.net\/users\/52193448","indices": [0, 23]}]},"description": {"urls": [{"url": "https:\/\/t.co\/NfgpaBJrzY","expanded_url": "https:\/\/skeb.jp\/@mafumuffin","display_url": "skeb.jp\/@mafumuffin","indices": [32, 55]}]}},"protected": false,"followers_count": 3186,"fast_followers_count": 0,"normal_followers_count": 3186,"friends_count": 15,"listed_count": 19,"created_at": "Thu Jan 17 12:04:10 +0000 2019","favourites_count": 2457,"utc_offset": null,"time_zone": null,"geo_enabled": false,"verified": false,"statuses_count": 7715,"media_count": 615,"lang": null,"contributors_enabled": false,"is_translator": false,"is_translation_enabled": false,"profile_background_color": "F5F8FA","profile_background_image_url": null,"profile_background_image_url_https": null,"profile_background_tile": false,"profile_image_url": "http:\/\/pbs.twimg.com\/profile_images\/1610651394729734146\/syfj49sD_normal.jpg","profile_image_url_https": "https:\/\/pbs.twimg.com\/profile_images\/1610651394729734146\/syfj49sD_normal.jpg","profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/1085870390881091586\/1580476333","profile_link_color": "1DA1F2","profile_sidebar_border_color": "C0DEED","profile_sidebar_fill_color": "DDEEF6","profile_text_color": "333333","profile_use_background_image": true,"has_extended_profile": true,"default_profile": true,"default_profile_image": false,"pinned_tweet_ids": [1562819825239748608],"pinned_tweet_ids_str": ["1562819825239748608"],"has_custom_timelines": true,"following": null,"follow_request_sent": null,"notifications": null,"advertiser_account_type": "promotable_user","advertiser_account_service_levels": ["analytics"],"business_profile_state": "none","translator_type": "none","withheld_in_countries": [],"require_some_consent": false},"geo": null,"coordinates": null,"place": null,"contributors": null,"is_quote_status": false,"retweet_count": 5,"favorite_count": 84,"conversation_id": 1615328321184894976,"conversation_id_str": "1615328321184894976","favorited": false,"retweeted": false,"possibly_sensitive": false,"possibly_sensitive_editable": true,"lang": "ja","supplemental_language": null},"is_quote_status": false,"retweet_count": 5,"favorite_count": 0,"conversation_id": 1615339567426732032,"conversation_id_str": "1615339567426732032","favorited": false,"retweeted": false,"possibly_sensitive": false,"possibly_sensitive_editable": true,"lang": "ja","supplemental_language": null}, {"created_at": "Tue Jan 17 13:12:36 +0000 2023","id": 1615336286637756418,"id_str": "1615336286637756418","text": "RT @mafumuffin: 創作の落書きあったから置いとく https:\/\/t.co\/wMD2SsMZnn","truncated": false,"entities": {"hashtags": [],"symbols": [],"user_mentions": [{"screen_name": "mafumuffin","name": "マフィン","id": 1085870390881091586,"id_str": "1085870390881091586","indices": [3, 14]}],"urls": [],"media": [{"id": 1615328246748573698,"id_str": "1615328246748573698","indices": [32, 55],"media_url": "http:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","url": "https:\/\/t.co\/wMD2SsMZnn","display_url": "pic.twitter.com\/wMD2SsMZnn","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976\/photo\/1","type": "photo","original_info": {"width": 1400,"height": 1300,"focus_rects": [{"x": 0,"y": 273,"h": 784,"w": 1400}, {"x": 0,"y": 0,"h": 1300,"w": 1300}, {"x": 0,"y": 0,"h": 1300,"w": 1140}, {"x": 0,"y": 0,"h": 1300,"w": 650}, {"x": 0,"y": 0,"h": 1300,"w": 1400}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"medium": {"w": 1200,"h": 1114,"resize": "fit"},"large": {"w": 1400,"h": 1300,"resize": "fit"},"small": {"w": 680,"h": 631,"resize": "fit"}},"source_status_id": 1615328321184894976,"source_status_id_str": "1615328321184894976","source_user_id": 1085870390881091586,"source_user_id_str": "1085870390881091586"}]},"extended_entities": {"media": [{"id": 1615328246748573698,"id_str": "1615328246748573698","indices": [32, 55],"media_url": "http:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","url": "https:\/\/t.co\/wMD2SsMZnn","display_url": "pic.twitter.com\/wMD2SsMZnn","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976\/photo\/1","type": "photo","original_info": {"width": 1400,"height": 1300,"focus_rects": [{"x": 0,"y": 273,"h": 784,"w": 1400}, {"x": 0,"y": 0,"h": 1300,"w": 1300}, {"x": 0,"y": 0,"h": 1300,"w": 1140}, {"x": 0,"y": 0,"h": 1300,"w": 650}, {"x": 0,"y": 0,"h": 1300,"w": 1400}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"medium": {"w": 1200,"h": 1114,"resize": "fit"},"large": {"w": 1400,"h": 1300,"resize": "fit"},"small": {"w": 680,"h": 631,"resize": "fit"}},"source_status_id": 1615328321184894976,"source_status_id_str": "1615328321184894976","source_user_id": 1085870390881091586,"source_user_id_str": "1085870390881091586","media_key": "3_1615328246748573698"}]},"source": "<a href=\"http:\/\/twitter.com\/download\/iphone\" rel=\"nofollow\">Twitter for iPhone<\/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": 1525908790910062592,"id_str": "1525908790910062592","name": "WispyParadoxExtra","screen_name": "WispyParadoxEX","location": "","description": "Hello! This is the RTing account for @WispyParadox because I RT WAY too much and wanted a place to do that without drowning out my posts -w-; Banner by @delsify","url": null,"entities": {"description": {"urls": []}},"protected": false,"followers_count": 74,"fast_followers_count": 0,"normal_followers_count": 74,"friends_count": 402,"listed_count": 1,"created_at": "Sun May 15 18:40:01 +0000 2022","favourites_count": 11405,"utc_offset": null,"time_zone": null,"geo_enabled": false,"verified": false,"statuses_count": 12137,"media_count": 39,"lang": null,"contributors_enabled": false,"is_translator": false,"is_translation_enabled": false,"profile_background_color": "F5F8FA","profile_background_image_url": null,"profile_background_image_url_https": null,"profile_background_tile": false,"profile_image_url": "http:\/\/pbs.twimg.com\/profile_images\/1571230560411844608\/Bw85LV0__normal.jpg","profile_image_url_https": "https:\/\/pbs.twimg.com\/profile_images\/1571230560411844608\/Bw85LV0__normal.jpg","profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/1525908790910062592\/1652641326","profile_link_color": "1DA1F2","profile_sidebar_border_color": "C0DEED","profile_sidebar_fill_color": "DDEEF6","profile_text_color": "333333","profile_use_background_image": true,"has_extended_profile": true,"default_profile": true,"default_profile_image": false,"pinned_tweet_ids": [],"pinned_tweet_ids_str": [],"has_custom_timelines": true,"following": null,"follow_request_sent": null,"notifications": null,"advertiser_account_type": "none","advertiser_account_service_levels": [],"business_profile_state": "none","translator_type": "none","withheld_in_countries": [],"require_some_consent": false},"geo": null,"coordinates": null,"place": null,"contributors": null,"retweeted_status": {"created_at": "Tue Jan 17 12:40:57 +0000 2023","id": 1615328321184894976,"id_str": "1615328321184894976","text": "創作の落書きあったから置いとく https:\/\/t.co\/wMD2SsMZnn","truncated": false,"entities": {"hashtags": [],"symbols": [],"user_mentions": [],"urls": [],"media": [{"id": 1615328246748573698,"id_str": "1615328246748573698","indices": [16, 39],"media_url": "http:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","url": "https:\/\/t.co\/wMD2SsMZnn","display_url": "pic.twitter.com\/wMD2SsMZnn","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976\/photo\/1","type": "photo","original_info": {"width": 1400,"height": 1300,"focus_rects": [{"x": 0,"y": 273,"h": 784,"w": 1400}, {"x": 0,"y": 0,"h": 1300,"w": 1300}, {"x": 0,"y": 0,"h": 1300,"w": 1140}, {"x": 0,"y": 0,"h": 1300,"w": 650}, {"x": 0,"y": 0,"h": 1300,"w": 1400}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"medium": {"w": 1200,"h": 1114,"resize": "fit"},"large": {"w": 1400,"h": 1300,"resize": "fit"},"small": {"w": 680,"h": 631,"resize": "fit"}}}]},"extended_entities": {"media": [{"id": 1615328246748573698,"id_str": "1615328246748573698","indices": [16, 39],"media_url": "http:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","url": "https:\/\/t.co\/wMD2SsMZnn","display_url": "pic.twitter.com\/wMD2SsMZnn","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976\/photo\/1","type": "photo","original_info": {"width": 1400,"height": 1300,"focus_rects": [{"x": 0,"y": 273,"h": 784,"w": 1400}, {"x": 0,"y": 0,"h": 1300,"w": 1300}, {"x": 0,"y": 0,"h": 1300,"w": 1140}, {"x": 0,"y": 0,"h": 1300,"w": 650}, {"x": 0,"y": 0,"h": 1300,"w": 1400}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"medium": {"w": 1200,"h": 1114,"resize": "fit"},"large": {"w": 1400,"h": 1300,"resize": "fit"},"small": {"w": 680,"h": 631,"resize": "fit"}},"media_key": "3_1615328246748573698"}]},"source": "<a href=\"https:\/\/mobile.twitter.com\" rel=\"nofollow\">Twitter Web App<\/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": 1085870390881091586,"id_str": "1085870390881091586","name": "マフィン","screen_name": "mafumuffin","location": "japan","description": "多忙|pkmn\/pkdn|創作|commission→skeb【https:\/\/t.co\/NfgpaBJrzY】(版権は非公開で) or DM|I'm not very good at English.","url": "https:\/\/t.co\/hzc8jBvqvS","entities": {"url": {"urls": [{"url": "https:\/\/t.co\/hzc8jBvqvS","expanded_url": "https:\/\/www.pixiv.net\/users\/52193448","display_url": "pixiv.net\/users\/52193448","indices": [0, 23]}]},"description": {"urls": [{"url": "https:\/\/t.co\/NfgpaBJrzY","expanded_url": "https:\/\/skeb.jp\/@mafumuffin","display_url": "skeb.jp\/@mafumuffin","indices": [32, 55]}]}},"protected": false,"followers_count": 3186,"fast_followers_count": 0,"normal_followers_count": 3186,"friends_count": 15,"listed_count": 19,"created_at": "Thu Jan 17 12:04:10 +0000 2019","favourites_count": 2457,"utc_offset": null,"time_zone": null,"geo_enabled": false,"verified": false,"statuses_count": 7715,"media_count": 615,"lang": null,"contributors_enabled": false,"is_translator": false,"is_translation_enabled": false,"profile_background_color": "F5F8FA","profile_background_image_url": null,"profile_background_image_url_https": null,"profile_background_tile": false,"profile_image_url": "http:\/\/pbs.twimg.com\/profile_images\/1610651394729734146\/syfj49sD_normal.jpg","profile_image_url_https": "https:\/\/pbs.twimg.com\/profile_images\/1610651394729734146\/syfj49sD_normal.jpg","profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/1085870390881091586\/1580476333","profile_link_color": "1DA1F2","profile_sidebar_border_color": "C0DEED","profile_sidebar_fill_color": "DDEEF6","profile_text_color": "333333","profile_use_background_image": true,"has_extended_profile": true,"default_profile": true,"default_profile_image": false,"pinned_tweet_ids": [1562819825239748608],"pinned_tweet_ids_str": ["1562819825239748608"],"has_custom_timelines": true,"following": null,"follow_request_sent": null,"notifications": null,"advertiser_account_type": "promotable_user","advertiser_account_service_levels": ["analytics"],"business_profile_state": "none","translator_type": "none","withheld_in_countries": [],"require_some_consent": false},"geo": null,"coordinates": null,"place": null,"contributors": null,"is_quote_status": false,"retweet_count": 5,"favorite_count": 84,"conversation_id": 1615328321184894976,"conversation_id_str": "1615328321184894976","favorited": false,"retweeted": false,"possibly_sensitive": false,"possibly_sensitive_editable": true,"lang": "ja","supplemental_language": null},"is_quote_status": false,"retweet_count": 5,"favorite_count": 0,"conversation_id": 1615336286637756418,"conversation_id_str": "1615336286637756418","favorited": false,"retweeted": false,"possibly_sensitive": false,"possibly_sensitive_editable": true,"lang": "ja","supplemental_language": null}, {"created_at": "Tue Jan 17 12:41:43 +0000 2023","id": 1615328513099464704,"id_str": "1615328513099464704","text": "RT @mafumuffin: 創作の落書きあったから置いとく https:\/\/t.co\/wMD2SsMZnn","truncated": false,"entities": {"hashtags": [],"symbols": [],"user_mentions": [{"screen_name": "mafumuffin","name": "マフィン","id": 1085870390881091586,"id_str": "1085870390881091586","indices": [3, 14]}],"urls": [],"media": [{"id": 1615328246748573698,"id_str": "1615328246748573698","indices": [32, 55],"media_url": "http:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","url": "https:\/\/t.co\/wMD2SsMZnn","display_url": "pic.twitter.com\/wMD2SsMZnn","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976\/photo\/1","type": "photo","original_info": {"width": 1400,"height": 1300,"focus_rects": [{"x": 0,"y": 273,"h": 784,"w": 1400}, {"x": 0,"y": 0,"h": 1300,"w": 1300}, {"x": 0,"y": 0,"h": 1300,"w": 1140}, {"x": 0,"y": 0,"h": 1300,"w": 650}, {"x": 0,"y": 0,"h": 1300,"w": 1400}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"medium": {"w": 1200,"h": 1114,"resize": "fit"},"large": {"w": 1400,"h": 1300,"resize": "fit"},"small": {"w": 680,"h": 631,"resize": "fit"}},"source_status_id": 1615328321184894976,"source_status_id_str": "1615328321184894976","source_user_id": 1085870390881091586,"source_user_id_str": "1085870390881091586"}]},"extended_entities": {"media": [{"id": 1615328246748573698,"id_str": "1615328246748573698","indices": [32, 55],"media_url": "http:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","url": "https:\/\/t.co\/wMD2SsMZnn","display_url": "pic.twitter.com\/wMD2SsMZnn","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976\/photo\/1","type": "photo","original_info": {"width": 1400,"height": 1300,"focus_rects": [{"x": 0,"y": 273,"h": 784,"w": 1400}, {"x": 0,"y": 0,"h": 1300,"w": 1300}, {"x": 0,"y": 0,"h": 1300,"w": 1140}, {"x": 0,"y": 0,"h": 1300,"w": 650}, {"x": 0,"y": 0,"h": 1300,"w": 1400}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"medium": {"w": 1200,"h": 1114,"resize": "fit"},"large": {"w": 1400,"h": 1300,"resize": "fit"},"small": {"w": 680,"h": 631,"resize": "fit"}},"source_status_id": 1615328321184894976,"source_status_id_str": "1615328321184894976","source_user_id": 1085870390881091586,"source_user_id_str": "1085870390881091586","media_key": "3_1615328246748573698"}]},"source": "<a href=\"https:\/\/mobile.twitter.com\" rel=\"nofollow\">Twitter Web App<\/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": 854205869554139136,"id_str": "854205869554139136","name": "PiT (Ultimate Amplifier)","screen_name": "quartz_william","location": "FavePoké:pastebin.com\/aQfZtaNS","description": "Play Klonoa!\nNiche Hunter! At least 18.\nSPOILERS ON GAMES 2+ YEARS!\nSteam:PiT(B1Q64)\nDiscord:PiT#1772\nCohost:PiT\nTumblr:pitagain\nReddit:u\/partner_intime","url": "https:\/\/t.co\/VPRVfOFr1b","entities": {"url": {"urls": [{"url": "https:\/\/t.co\/VPRVfOFr1b","expanded_url": "https:\/\/www.backloggd.com\/u\/PARTNERiNTiME\/","display_url": "backloggd.com\/u\/PARTNERiNTiM…","indices": [0, 23]}]},"description": {"urls": []}},"protected": false,"followers_count": 347,"fast_followers_count": 0,"normal_followers_count": 347,"friends_count": 189,"listed_count": 3,"created_at": "Tue Apr 18 05:32:04 +0000 2017","favourites_count": 148148,"utc_offset": null,"time_zone": null,"geo_enabled": false,"verified": false,"statuses_count": 98180,"media_count": 1926,"lang": null,"contributors_enabled": false,"is_translator": false,"is_translation_enabled": false,"profile_background_color": "000000","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\/1593602246733725697\/vgiyMPPh_normal.jpg","profile_image_url_https": "https:\/\/pbs.twimg.com\/profile_images\/1593602246733725697\/vgiyMPPh_normal.jpg","profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/854205869554139136\/1578776298","profile_link_color": "FAB81E","profile_sidebar_border_color": "000000","profile_sidebar_fill_color": "000000","profile_text_color": "000000","profile_use_background_image": false,"has_extended_profile": false,"default_profile": false,"default_profile_image": false,"pinned_tweet_ids": [1401472682739126273],"pinned_tweet_ids_str": ["1401472682739126273"],"has_custom_timelines": true,"following": null,"follow_request_sent": null,"notifications": null,"advertiser_account_type": "promotable_user","advertiser_account_service_levels": ["analytics"],"business_profile_state": "none","translator_type": "none","withheld_in_countries": [],"require_some_consent": false},"geo": null,"coordinates": null,"place": null,"contributors": null,"retweeted_status": {"created_at": "Tue Jan 17 12:40:57 +0000 2023","id": 1615328321184894976,"id_str": "1615328321184894976","text": "創作の落書きあったから置いとく https:\/\/t.co\/wMD2SsMZnn","truncated": false,"entities": {"hashtags": [],"symbols": [],"user_mentions": [],"urls": [],"media": [{"id": 1615328246748573698,"id_str": "1615328246748573698","indices": [16, 39],"media_url": "http:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","url": "https:\/\/t.co\/wMD2SsMZnn","display_url": "pic.twitter.com\/wMD2SsMZnn","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976\/photo\/1","type": "photo","original_info": {"width": 1400,"height": 1300,"focus_rects": [{"x": 0,"y": 273,"h": 784,"w": 1400}, {"x": 0,"y": 0,"h": 1300,"w": 1300}, {"x": 0,"y": 0,"h": 1300,"w": 1140}, {"x": 0,"y": 0,"h": 1300,"w": 650}, {"x": 0,"y": 0,"h": 1300,"w": 1400}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"medium": {"w": 1200,"h": 1114,"resize": "fit"},"large": {"w": 1400,"h": 1300,"resize": "fit"},"small": {"w": 680,"h": 631,"resize": "fit"}}}]},"extended_entities": {"media": [{"id": 1615328246748573698,"id_str": "1615328246748573698","indices": [16, 39],"media_url": "http:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","url": "https:\/\/t.co\/wMD2SsMZnn","display_url": "pic.twitter.com\/wMD2SsMZnn","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976\/photo\/1","type": "photo","original_info": {"width": 1400,"height": 1300,"focus_rects": [{"x": 0,"y": 273,"h": 784,"w": 1400}, {"x": 0,"y": 0,"h": 1300,"w": 1300}, {"x": 0,"y": 0,"h": 1300,"w": 1140}, {"x": 0,"y": 0,"h": 1300,"w": 650}, {"x": 0,"y": 0,"h": 1300,"w": 1400}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"medium": {"w": 1200,"h": 1114,"resize": "fit"},"large": {"w": 1400,"h": 1300,"resize": "fit"},"small": {"w": 680,"h": 631,"resize": "fit"}},"media_key": "3_1615328246748573698"}]},"source": "<a href=\"https:\/\/mobile.twitter.com\" rel=\"nofollow\">Twitter Web App<\/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": 1085870390881091586,"id_str": "1085870390881091586","name": "マフィン","screen_name": "mafumuffin","location": "japan","description": "多忙|pkmn\/pkdn|創作|commission→skeb【https:\/\/t.co\/NfgpaBJrzY】(版権は非公開で) or DM|I'm not very good at English.","url": "https:\/\/t.co\/hzc8jBvqvS","entities": {"url": {"urls": [{"url": "https:\/\/t.co\/hzc8jBvqvS","expanded_url": "https:\/\/www.pixiv.net\/users\/52193448","display_url": "pixiv.net\/users\/52193448","indices": [0, 23]}]},"description": {"urls": [{"url": "https:\/\/t.co\/NfgpaBJrzY","expanded_url": "https:\/\/skeb.jp\/@mafumuffin","display_url": "skeb.jp\/@mafumuffin","indices": [32, 55]}]}},"protected": false,"followers_count": 3186,"fast_followers_count": 0,"normal_followers_count": 3186,"friends_count": 15,"listed_count": 19,"created_at": "Thu Jan 17 12:04:10 +0000 2019","favourites_count": 2457,"utc_offset": null,"time_zone": null,"geo_enabled": false,"verified": false,"statuses_count": 7715,"media_count": 615,"lang": null,"contributors_enabled": false,"is_translator": false,"is_translation_enabled": false,"profile_background_color": "F5F8FA","profile_background_image_url": null,"profile_background_image_url_https": null,"profile_background_tile": false,"profile_image_url": "http:\/\/pbs.twimg.com\/profile_images\/1610651394729734146\/syfj49sD_normal.jpg","profile_image_url_https": "https:\/\/pbs.twimg.com\/profile_images\/1610651394729734146\/syfj49sD_normal.jpg","profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/1085870390881091586\/1580476333","profile_link_color": "1DA1F2","profile_sidebar_border_color": "C0DEED","profile_sidebar_fill_color": "DDEEF6","profile_text_color": "333333","profile_use_background_image": true,"has_extended_profile": true,"default_profile": true,"default_profile_image": false,"pinned_tweet_ids": [1562819825239748608],"pinned_tweet_ids_str": ["1562819825239748608"],"has_custom_timelines": true,"following": null,"follow_request_sent": null,"notifications": null,"advertiser_account_type": "promotable_user","advertiser_account_service_levels": ["analytics"],"business_profile_state": "none","translator_type": "none","withheld_in_countries": [],"require_some_consent": false},"geo": null,"coordinates": null,"place": null,"contributors": null,"is_quote_status": false,"retweet_count": 5,"favorite_count": 84,"conversation_id": 1615328321184894976,"conversation_id_str": "1615328321184894976","favorited": false,"retweeted": false,"possibly_sensitive": false,"possibly_sensitive_editable": true,"lang": "ja","supplemental_language": null},"is_quote_status": false,"retweet_count": 5,"favorite_count": 0,"conversation_id": 1615328513099464704,"conversation_id_str": "1615328513099464704","favorited": false,"retweeted": false,"possibly_sensitive": false,"possibly_sensitive_editable": true,"lang": "ja","supplemental_language": null}]

API:获取转推 IDs

接口说明

返回最多 100 个用户 ID 的集合,这些用户 ID 属于转发了由 id 参数指定的推文的用户。 你可以查看官方的文档:https://developer.twitter.com/en/docs/twitter-api/v1/tweets/post-and-engage/api-reference/get-statuses-retweeters-ids
请求 URL:https://api.twitter.com/1.1/statuses/retweeters/ids.json 请求方式:get
请求头必须携带上面的标准基本请求头中的authorizationhe和x-guest-token参数。
响应格式 JSON
需要验证 Yes
速率限制 Yes
15分钟内最大请求数(用户验证) 75
15分钟内最大请求数(APP验证) 300
参数 类型 描述 示例
id 必须 推文的ID。 327473909412814850
count 可选 指定要检索的记录数。必须小于或等于 100。 5
cursor 半必须 导致 ID 列表一次被分成不超过 100 个 ID 的页面。 返回的ID数量不保证为100个,因为查询连接后会过滤掉挂起的用户。 如果未提供游标,则假定值为 -1,即第一个“页面”。 来自 API 的响应将包含 previous_cursor 和 next_cursor 以允许来回翻页。 有关更多信息,请参阅 Twitter的游标 文档。 虽然此方法支持游标参数,但可以在单个游标集合中返回整个结果集。 将 count 参数与此方法一起使用将不会提供用于此参数的分段游标。 12893764510938
stringify_ids 可选 由于推文的大小,许多编程环境不会使用推文 ID。提供此选项以将 ID 作为字符串返回 true
 

响应返回示例

https://api.twitter.com/1.1/statuses/retweeters/ids.json?id=1615328321184894976&count=100&stringify_ids=true
PLAINTEXT
{"ids": ["1454053574778834947", "932741838880038918", "1041447713827520513", "1525908790910062592", "854205869554139136"],"next_cursor": 0,"next_cursor_str": "0","previous_cursor": 0,"previous_cursor_str": "0","total_count": null}

API:获取点赞推文

接口说明

返回验证用户或指定用户点赞的最近 20 条推文。 你可以查看官方的文档:https://developer.twitter.com/en/docs/twitter-api/v1/tweets/post-and-engage/api-reference/get-favorites-list
请求 URL:https://api.twitter.com/1.1/favorites/list.json 请求方式:get
请求头必须携带上面的标准基本请求头中的authorizationhe和x-guest-token参数。
响应格式 JSON
需要验证 Yes
速率限制 Yes
15分钟内最大请求数(用户验证) 75
15分钟内最大请求数(APP验证) 75
参数 类型 描述 示例
user_id 可选 返回时间线结果的用户ID。 12345
screen_name 可选 返回时间线结果的用户的显示用户名(推特用户名)。 twitterdev
count 可选 指定尝试检索的推文数量,每个不同请求最多为 200。count 的值最好被视为返回推文数量的限制,因为在应用了 count 之后,已暂停或已删除的内容将被移除。我们在计数中包括转推,即使未提供 include_rts。建议在使用此 API 方法时始终发送 include_rts=1。 5
since_id 可选 返回 ID 大于(最近更新的)指定 ID 的结果。通过 API 访问推文的数量是有限制的。如果自 since_id 以来已经发生了限制推文的情况,则 since_id 将被强制设置为最早的可用 ID。 12345
max_id 可选 返回 ID 小于(即早于)或等于指定 ID 的结果。 54321
include_entities 可选 当设置为 false 时,附件将被省略。 false

响应返回示例

https://api.twitter.com/1.1/favorites/list.json?count=5&screen_name=mafumuffin
PLAINTEXT
[{"created_at": "Tue Jan 17 13:19:18 +0000 2023","id": 1615337973192556555,"id_str": "1615337973192556555","text": "@mafumuffin ?","truncated": false,"entities": {"hashtags": [],"symbols": [],"user_mentions": [{"screen_name": "mafumuffin","name": "マフィン","id": 1085870390881091586,"id_str": "1085870390881091586","indices": [0, 11]}],"urls": []},"source": "<a href=\"http:\/\/twitter.com\/download\/android\" rel=\"nofollow\">Twitter for Android<\/a>","in_reply_to_status_id": 1615328321184894976,"in_reply_to_status_id_str": "1615328321184894976","in_reply_to_user_id": 1085870390881091586,"in_reply_to_user_id_str": "1085870390881091586","in_reply_to_screen_name": "mafumuffin","user": {"id": 1043210348608872448,"id_str": "1043210348608872448","name": "Rio!","screen_name": "UnoptimalP","location": "they\/them","description": "Aka UnoptimalPunish in some circles.\nI'm a bafoon full of emotion. mostly love!\n\nsupport indie musicians right now or else","url": "https:\/\/t.co\/V6P8ySEEUQ","entities": {"url": {"urls": [{"url": "https:\/\/t.co\/V6P8ySEEUQ","expanded_url": "https:\/\/www.youtube.com\/channel\/UCp30E_XNzQ9R1J_GI3X_9pw","display_url": "youtube.com\/channel\/UCp30E…","indices": [0, 23]}]},"description": {"urls": []}},"protected": false,"followers_count": 230,"fast_followers_count": 0,"normal_followers_count": 230,"friends_count": 473,"listed_count": 4,"created_at": "Fri Sep 21 18:48:23 +0000 2018","favourites_count": 45179,"utc_offset": null,"time_zone": null,"geo_enabled": false,"verified": false,"statuses_count": 10045,"media_count": 997,"lang": null,"contributors_enabled": false,"is_translator": false,"is_translation_enabled": false,"profile_background_color": "F5F8FA","profile_background_image_url": null,"profile_background_image_url_https": null,"profile_background_tile": false,"profile_image_url": "http:\/\/pbs.twimg.com\/profile_images\/1554338063983095808\/DBSf7DqO_normal.png","profile_image_url_https": "https:\/\/pbs.twimg.com\/profile_images\/1554338063983095808\/DBSf7DqO_normal.png","profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/1043210348608872448\/1540928312","profile_link_color": "1DA1F2","profile_sidebar_border_color": "C0DEED","profile_sidebar_fill_color": "DDEEF6","profile_text_color": "333333","profile_use_background_image": true,"has_extended_profile": false,"default_profile": true,"default_profile_image": false,"pinned_tweet_ids": [1470076682446983174],"pinned_tweet_ids_str": ["1470076682446983174"],"has_custom_timelines": true,"following": null,"follow_request_sent": null,"notifications": null,"advertiser_account_type": "none","advertiser_account_service_levels": [],"business_profile_state": "none","translator_type": "none","withheld_in_countries": [],"require_some_consent": false},"geo": null,"coordinates": null,"place": null,"contributors": null,"is_quote_status": false,"retweet_count": 0,"favorite_count": 1,"conversation_id": 1615328321184894976,"conversation_id_str": "1615328321184894976","favorited": false,"retweeted": false,"lang": "und","supplemental_language": null}, {"created_at": "Tue Jan 10 07:43:34 +0000 2023","id": 1612716767444631552,"id_str": "1612716767444631552","text": "『ポケットモンスター スカーレット・バイオレット』にて、開発のゲームフリーク監修でアルクジラ&amp;ハルクジラ、ブロロン&amp;ブロロロームのデザインを担当致しました!\n世界中の人が笑顔になってワクワクできるデザインを目指しました。\n皆さんと… https:\/\/t.co\/Gwa78RSljS","truncated": true,"entities": {"hashtags": [],"symbols": [],"user_mentions": [],"urls": [{"url": "https:\/\/t.co\/Gwa78RSljS","expanded_url": "https:\/\/twitter.com\/i\/web\/status\/1612716767444631552","display_url": "twitter.com\/i\/web\/status\/1…","indices": [125, 148]}]},"source": "<a href=\"https:\/\/mobile.twitter.com\" rel=\"nofollow\">Twitter Web App<\/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": 5654892,"id_str": "5654892","name": "コザキユースケ\/Yusuke Kozaki","screen_name": "kymg","location": "","description": "Character designer, CEO. \/Fire Emblem series \/PokémonGO \/Pokemon Designer \/NoMoreHeroes \/Overwatch skins, etc. ?: info@kymg.net ◇respect: @Greenhouse0641","url": null,"entities": {"description": {"urls": []}},"protected": false,"followers_count": 108572,"fast_followers_count": 0,"normal_followers_count": 108572,"friends_count": 2241,"listed_count": 2131,"created_at": "Mon Apr 30 14:30:36 +0000 2007","favourites_count": 2760,"utc_offset": null,"time_zone": null,"geo_enabled": false,"verified": true,"statuses_count": 11966,"media_count": 2619,"lang": null,"contributors_enabled": false,"is_translator": false,"is_translation_enabled": false,"profile_background_color": "000000","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": true,"profile_image_url": "http:\/\/pbs.twimg.com\/profile_images\/1345478024813133824\/frjBSD3v_normal.jpg","profile_image_url_https": "https:\/\/pbs.twimg.com\/profile_images\/1345478024813133824\/frjBSD3v_normal.jpg","profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/5654892\/1559325284","profile_link_color": "ABB8C2","profile_sidebar_border_color": "000000","profile_sidebar_fill_color": "9DA0B3","profile_text_color": "555555","profile_use_background_image": true,"has_extended_profile": true,"default_profile": false,"default_profile_image": false,"pinned_tweet_ids": [1544595003258744833],"pinned_tweet_ids_str": ["1544595003258744833"],"has_custom_timelines": true,"following": null,"follow_request_sent": null,"notifications": null,"advertiser_account_type": "promotable_user","advertiser_account_service_levels": [],"business_profile_state": "none","translator_type": "none","withheld_in_countries": [],"require_some_consent": false},"geo": null,"coordinates": null,"place": null,"contributors": null,"is_quote_status": false,"retweet_count": 16704,"favorite_count": 54079,"conversation_id": 1612716767444631552,"conversation_id_str": "1612716767444631552","favorited": false,"retweeted": false,"possibly_sensitive": false,"possibly_sensitive_editable": true,"lang": "ja","supplemental_language": null,"self_thread": {"id": 1612716767444631552,"id_str": "1612716767444631552"}}, {"created_at": "Sat Dec 31 15:03:44 +0000 2022","id": 1609203660025917442,"id_str": "1609203660025917442","text": "あけましておめでとうございます?? https:\/\/t.co\/H4E7hCCDWp","truncated": false,"entities": {"hashtags": [],"symbols": [],"user_mentions": [],"urls": [],"media": [{"id": 1609203637825245184,"id_str": "1609203637825245184","indices": [18, 41],"media_url": "http:\/\/pbs.twimg.com\/media\/FlUKLsPXEAA9uzh.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FlUKLsPXEAA9uzh.jpg","url": "https:\/\/t.co\/H4E7hCCDWp","display_url": "pic.twitter.com\/H4E7hCCDWp","expanded_url": "https:\/\/twitter.com\/maple926\/status\/1609203660025917442\/photo\/1","type": "photo","original_info": {"width": 1181,"height": 1748,"focus_rects": [{"x": 0,"y": 500,"h": 661,"w": 1181}, {"x": 0,"y": 240,"h": 1181,"w": 1181}, {"x": 0,"y": 157,"h": 1346,"w": 1181}, {"x": 131,"y": 0,"h": 1748,"w": 874}, {"x": 0,"y": 0,"h": 1748,"w": 1181}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"large": {"w": 1181,"h": 1748,"resize": "fit"},"small": {"w": 459,"h": 680,"resize": "fit"},"medium": {"w": 811,"h": 1200,"resize": "fit"}}}]},"extended_entities": {"media": [{"id": 1609203637825245184,"id_str": "1609203637825245184","indices": [18, 41],"media_url": "http:\/\/pbs.twimg.com\/media\/FlUKLsPXEAA9uzh.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FlUKLsPXEAA9uzh.jpg","url": "https:\/\/t.co\/H4E7hCCDWp","display_url": "pic.twitter.com\/H4E7hCCDWp","expanded_url": "https:\/\/twitter.com\/maple926\/status\/1609203660025917442\/photo\/1","type": "photo","original_info": {"width": 1181,"height": 1748,"focus_rects": [{"x": 0,"y": 500,"h": 661,"w": 1181}, {"x": 0,"y": 240,"h": 1181,"w": 1181}, {"x": 0,"y": 157,"h": 1346,"w": 1181}, {"x": 131,"y": 0,"h": 1748,"w": 874}, {"x": 0,"y": 0,"h": 1748,"w": 1181}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"large": {"w": 1181,"h": 1748,"resize": "fit"},"small": {"w": 459,"h": 680,"resize": "fit"},"medium": {"w": 811,"h": 1200,"resize": "fit"}},"media_key": "3_1609203637825245184"}]},"source": "<a href=\"http:\/\/twitter.com\/#!\/download\/ipad\" rel=\"nofollow\">Twitter for iPad<\/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": 1637726965,"id_str": "1637726965","name": "かな","screen_name": "maple926","location": "アローラロコンの尻尾の中","description": "水彩色鉛筆&デジタル絵描き。今はほぼデジタル。ポケGOTL46青。 LINEスタンプ→https:\/\/t.co\/uHJyIAsf2e skeb→https:\/\/t.co\/Pqxdwtjio8","url": "https:\/\/t.co\/EcC3LHbAEa","entities": {"url": {"urls": [{"url": "https:\/\/t.co\/EcC3LHbAEa","expanded_url": "https:\/\/kana0926.fanbox.cc\/","display_url": "kana0926.fanbox.cc","indices": [0, 23]}]},"description": {"urls": [{"url": "https:\/\/t.co\/uHJyIAsf2e","expanded_url": "https:\/\/line.me\/S\/shop\/sticker\/author\/1694200","display_url": "line.me\/S\/shop\/sticker…","indices": [43, 66]}, {"url": "https:\/\/t.co\/Pqxdwtjio8","expanded_url": "https:\/\/skeb.jp\/@maple926","display_url": "skeb.jp\/@maple926","indices": [72, 95]}]}},"protected": false,"followers_count": 20685,"fast_followers_count": 0,"normal_followers_count": 20685,"friends_count": 267,"listed_count": 178,"created_at": "Thu Aug 01 10:51:01 +0000 2013","favourites_count": 10351,"utc_offset": null,"time_zone": null,"geo_enabled": false,"verified": false,"statuses_count": 14151,"media_count": 1582,"lang": null,"contributors_enabled": false,"is_translator": false,"is_translation_enabled": false,"profile_background_color": "FA743E","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\/1591956899246768129\/ACYQdeiY_normal.jpg","profile_image_url_https": "https:\/\/pbs.twimg.com\/profile_images\/1591956899246768129\/ACYQdeiY_normal.jpg","profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/1637726965\/1640681989","profile_link_color": "89C9FA","profile_sidebar_border_color": "000000","profile_sidebar_fill_color": "000000","profile_text_color": "000000","profile_use_background_image": true,"has_extended_profile": true,"default_profile": false,"default_profile_image": false,"pinned_tweet_ids": [1601204625428066304],"pinned_tweet_ids_str": ["1601204625428066304"],"has_custom_timelines": true,"following": null,"follow_request_sent": null,"notifications": null,"advertiser_account_type": "promotable_user","advertiser_account_service_levels": ["analytics"],"business_profile_state": "none","translator_type": "none","withheld_in_countries": [],"require_some_consent": false},"geo": null,"coordinates": null,"place": null,"contributors": null,"is_quote_status": false,"retweet_count": 213,"favorite_count": 1265,"conversation_id": 1609203660025917442,"conversation_id_str": "1609203660025917442","favorited": false,"retweeted": false,"possibly_sensitive": false,"possibly_sensitive_editable": true,"lang": "ja","supplemental_language": null}, {"created_at": "Sat Dec 31 15:02:13 +0000 2022","id": 1609203277589106692,"id_str": "1609203277589106692","text": "Happy New Year ! https:\/\/t.co\/bQ3wGvJ4kV","truncated": false,"entities": {"hashtags": [],"symbols": [],"user_mentions": [],"urls": [],"media": [{"id": 1607777392709500928,"id_str": "1607777392709500928","indices": [17, 40],"media_url": "http:\/\/pbs.twimg.com\/media\/Fk_5BTJagAAGfOe.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/Fk_5BTJagAAGfOe.jpg","url": "https:\/\/t.co\/bQ3wGvJ4kV","display_url": "pic.twitter.com\/bQ3wGvJ4kV","expanded_url": "https:\/\/twitter.com\/prmiem447025\/status\/1609203277589106692\/photo\/1","type": "photo","original_info": {"width": 1750,"height": 1226,"focus_rects": [{"x": 0,"y": 0,"h": 980,"w": 1750}, {"x": 524,"y": 0,"h": 1226,"w": 1226}, {"x": 675,"y": 0,"h": 1226,"w": 1075}, {"x": 1137,"y": 0,"h": 1226,"w": 613}, {"x": 0,"y": 0,"h": 1226,"w": 1750}]},"sizes": {"medium": {"w": 1200,"h": 841,"resize": "fit"},"thumb": {"w": 150,"h": 150,"resize": "crop"},"large": {"w": 1750,"h": 1226,"resize": "fit"},"small": {"w": 680,"h": 476,"resize": "fit"}}}]},"extended_entities": {"media": [{"id": 1607777392709500928,"id_str": "1607777392709500928","indices": [17, 40],"media_url": "http:\/\/pbs.twimg.com\/media\/Fk_5BTJagAAGfOe.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/Fk_5BTJagAAGfOe.jpg","url": "https:\/\/t.co\/bQ3wGvJ4kV","display_url": "pic.twitter.com\/bQ3wGvJ4kV","expanded_url": "https:\/\/twitter.com\/prmiem447025\/status\/1609203277589106692\/photo\/1","type": "photo","original_info": {"width": 1750,"height": 1226,"focus_rects": [{"x": 0,"y": 0,"h": 980,"w": 1750}, {"x": 524,"y": 0,"h": 1226,"w": 1226}, {"x": 675,"y": 0,"h": 1226,"w": 1075}, {"x": 1137,"y": 0,"h": 1226,"w": 613}, {"x": 0,"y": 0,"h": 1226,"w": 1750}]},"sizes": {"medium": {"w": 1200,"h": 841,"resize": "fit"},"thumb": {"w": 150,"h": 150,"resize": "crop"},"large": {"w": 1750,"h": 1226,"resize": "fit"},"small": {"w": 680,"h": 476,"resize": "fit"}},"media_key": "3_1607777392709500928"}]},"source": "<a href=\"https:\/\/mobile.twitter.com\" rel=\"nofollow\">Twitter Web App<\/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": 1097173454137118721,"id_str": "1097173454137118721","name": "壱陸","screen_name": "prmiem447025","location": "ダウニキとスパイキーに沼","description": "ポケ(+ダン)とプラマイとスプラ\n■プロフ:https:\/\/t.co\/f62zkZI9Bn\n■一次創作 → @youka_ichiori \n■転載、無断使用、加工禁止\n※Do not repost or use my artworks","url": "https:\/\/t.co\/fKdkAkGBoA","entities": {"url": {"urls": [{"url": "https:\/\/t.co\/fKdkAkGBoA","expanded_url": "https:\/\/www.pixiv.net\/member.php?id=18765363","display_url": "pixiv.net\/member.php?id=…","indices": [0, 23]}]},"description": {"urls": [{"url": "https:\/\/t.co\/f62zkZI9Bn","expanded_url": "http:\/\/twpf.jp\/prmiem447025","display_url": "twpf.jp\/prmiem447025","indices": [23, 46]}]}},"protected": false,"followers_count": 3269,"fast_followers_count": 0,"normal_followers_count": 3269,"friends_count": 57,"listed_count": 22,"created_at": "Sun Feb 17 16:38:30 +0000 2019","favourites_count": 3818,"utc_offset": null,"time_zone": null,"geo_enabled": false,"verified": false,"statuses_count": 16841,"media_count": 588,"lang": null,"contributors_enabled": false,"is_translator": false,"is_translation_enabled": false,"profile_background_color": "000000","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\/1591988586559463425\/v0MK-aS9_normal.jpg","profile_image_url_https": "https:\/\/pbs.twimg.com\/profile_images\/1591988586559463425\/v0MK-aS9_normal.jpg","profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/1097173454137118721\/1673689496","profile_link_color": "FAB81E","profile_sidebar_border_color": "000000","profile_sidebar_fill_color": "000000","profile_text_color": "000000","profile_use_background_image": false,"has_extended_profile": true,"default_profile": false,"default_profile_image": false,"pinned_tweet_ids": [],"pinned_tweet_ids_str": [],"has_custom_timelines": true,"following": null,"follow_request_sent": null,"notifications": null,"advertiser_account_type": "promotable_user","advertiser_account_service_levels": ["analytics"],"business_profile_state": "none","translator_type": "none","withheld_in_countries": [],"require_some_consent": false},"geo": null,"coordinates": null,"place": null,"contributors": null,"is_quote_status": false,"retweet_count": 37,"favorite_count": 176,"conversation_id": 1609203277589106692,"conversation_id_str": "1609203277589106692","favorited": false,"retweeted": false,"possibly_sensitive": false,"possibly_sensitive_editable": true,"lang": "en","supplemental_language": null}, {"created_at": "Fri Dec 30 05:39:43 +0000 2022","id": 1608699331124826112,"id_str": "1608699331124826112","text": "お久しぶりです https:\/\/t.co\/dEkF47g4qL","truncated": false,"entities": {"hashtags": [],"symbols": [],"user_mentions": [],"urls": [],"media": [{"id": 1608699019764858882,"id_str": "1608699019764858882","indices": [8, 31],"media_url": "http:\/\/pbs.twimg.com\/media\/FlM_PDeagAIkAVp.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FlM_PDeagAIkAVp.jpg","url": "https:\/\/t.co\/dEkF47g4qL","display_url": "pic.twitter.com\/dEkF47g4qL","expanded_url": "https:\/\/twitter.com\/chiro_poke\/status\/1608699331124826112\/photo\/1","type": "photo","original_info": {"width": 2039,"height": 1378,"focus_rects": [{"x": 0,"y": 193,"h": 1142,"w": 2039}, {"x": 0,"y": 0,"h": 1378,"w": 1378}, {"x": 0,"y": 0,"h": 1378,"w": 1209}, {"x": 0,"y": 0,"h": 1378,"w": 689}, {"x": 0,"y": 0,"h": 1378,"w": 2039}]},"sizes": {"medium": {"w": 1200,"h": 811,"resize": "fit"},"thumb": {"w": 150,"h": 150,"resize": "crop"},"large": {"w": 2039,"h": 1378,"resize": "fit"},"small": {"w": 680,"h": 460,"resize": "fit"}}}]},"extended_entities": {"media": [{"id": 1608699019764858882,"id_str": "1608699019764858882","indices": [8, 31],"media_url": "http:\/\/pbs.twimg.com\/media\/FlM_PDeagAIkAVp.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FlM_PDeagAIkAVp.jpg","url": "https:\/\/t.co\/dEkF47g4qL","display_url": "pic.twitter.com\/dEkF47g4qL","expanded_url": "https:\/\/twitter.com\/chiro_poke\/status\/1608699331124826112\/photo\/1","type": "photo","original_info": {"width": 2039,"height": 1378,"focus_rects": [{"x": 0,"y": 193,"h": 1142,"w": 2039}, {"x": 0,"y": 0,"h": 1378,"w": 1378}, {"x": 0,"y": 0,"h": 1378,"w": 1209}, {"x": 0,"y": 0,"h": 1378,"w": 689}, {"x": 0,"y": 0,"h": 1378,"w": 2039}]},"sizes": {"medium": {"w": 1200,"h": 811,"resize": "fit"},"thumb": {"w": 150,"h": 150,"resize": "crop"},"large": {"w": 2039,"h": 1378,"resize": "fit"},"small": {"w": 680,"h": 460,"resize": "fit"}},"media_key": "3_1608699019764858882"}]},"source": "<a href=\"https:\/\/mobile.twitter.com\" rel=\"nofollow\">Twitter Web App<\/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": 746966304423174146,"id_str": "746966304423174146","name": "ぽちと","screen_name": "chiro_poke","location": "","description": "素敵なヘッダーはぽへ餅さんから頂きました!うちの子中心にうるさいアカウント\/低浮上の為返信が遅いです。創作垢→@popoemo     Unauthorized reproduction prohibited. Please also stop processing the picture I drew.","url": "https:\/\/t.co\/1AdExQWnGx","entities": {"url": {"urls": [{"url": "https:\/\/t.co\/1AdExQWnGx","expanded_url": "http:\/\/instagram.com\/chiro_poke","display_url": "instagram.com\/chiro_poke","indices": [0, 23]}]},"description": {"urls": []}},"protected": false,"followers_count": 1503,"fast_followers_count": 0,"normal_followers_count": 1503,"friends_count": 93,"listed_count": 10,"created_at": "Sun Jun 26 07:20:19 +0000 2016","favourites_count": 919,"utc_offset": null,"time_zone": null,"geo_enabled": false,"verified": false,"statuses_count": 3232,"media_count": 347,"lang": null,"contributors_enabled": false,"is_translator": false,"is_translation_enabled": false,"profile_background_color": "F5F8FA","profile_background_image_url": null,"profile_background_image_url_https": null,"profile_background_tile": false,"profile_image_url": "http:\/\/pbs.twimg.com\/profile_images\/1608700149207007233\/F1Gh0GXC_normal.jpg","profile_image_url_https": "https:\/\/pbs.twimg.com\/profile_images\/1608700149207007233\/F1Gh0GXC_normal.jpg","profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/746966304423174146\/1537752571","profile_link_color": "1DA1F2","profile_sidebar_border_color": "C0DEED","profile_sidebar_fill_color": "DDEEF6","profile_text_color": "333333","profile_use_background_image": true,"has_extended_profile": true,"default_profile": true,"default_profile_image": false,"pinned_tweet_ids": [1344843507932962816],"pinned_tweet_ids_str": ["1344843507932962816"],"has_custom_timelines": true,"following": null,"follow_request_sent": null,"notifications": null,"advertiser_account_type": "none","advertiser_account_service_levels": [],"business_profile_state": "none","translator_type": "none","withheld_in_countries": [],"require_some_consent": false},"geo": null,"coordinates": null,"place": null,"contributors": null,"is_quote_status": false,"retweet_count": 236,"favorite_count": 1359,"conversation_id": 1608699331124826112,"conversation_id_str": "1608699331124826112","favorited": false,"retweeted": false,"possibly_sensitive": false,"possibly_sensitive_editable": true,"lang": "ja","supplemental_language": null,"self_thread": {"id": 1608699331124826112,"id_str": "1608699331124826112"}}]

API:获取 oEmbed 兼容格式 的控件

接口说明

以 oEmbed 兼容格式返回单个推文,由推文 Web URL 或推文 ID 指定。 当页面上包含 Twitter 的小部件 Java 脚本时,返回的 HTML 片段将被自动识别为嵌入式推文。 oEmbed 端点允许自定义嵌入式推文的最终外观,方法是在 HTML 标记中设置相应的属性,默认情况下由与 HTML 响应捆绑在一起的 Twitter Java 脚本解释。 随着 Twitter 添加新功能或调整其 Tweet 表示,返回标记的格式可能会随着时间而改变。 推文后备标记旨在缓存在你的服务器上,最长可达 cache_age 中指定的建议缓存生存期。 你可以查看官方的文档:https://developer.twitter.com/en/docs/twitter-api/v1/tweets/post-and-engage/api-reference/get-statuses-oembed
请求 URL:https://publish.twitter.com/oembed 请求方式:get
响应格式 JSON
需要验证 No
速率限制 No
名称 默认值 描述
url必须 字符串 要嵌入的推文的 URL
maxwidth 整数 [220..550] 325 渲染推文的最大宽度(以整像素为单位)。如果提供的值低于或高于允许的范围,则将返回最小或最大支持宽度;重置宽度值将反映在返回的width属性中。请注意,Twitter 不支持 oEmbed maxheight 参数。推文本质上是文本,因此高度是不可预测的,不能像图像或视频一样缩放。相关地,oEmbed 响应不会为 height 提供值。需要推文的一致高度的实现应参考下面的 hide_thread 和 hide_media 参数。
hide_media 布尔值,字符串或整数 false 设置为 true,"t" 或 1 时,推文中的链接不会展开为照片,视频或链接预览。
hide_thread 布尔值,字符串或 整数 false 设置为 true,"t" 或 1 时,在请求的推文是回复另一条推文时,不会显示对话线中先前推文的折叠版本。
omit_script 布尔值,字符串或整数 false 设置为 true,"t" 或 1 时,不会返回负责加载 widgets.js 的 <script>。您的网页应该包括自己的 widgets.js 引用,以便在所有 Twitter 小部件(包括 嵌入推文)中使用。
align 枚举 {left,right,center,none} none 指定嵌入的推文是否应该在页面中相对于父元素浮动在左边,右边或中间。
related 字符串 与您的内容相关的 Twitter 用户名的逗号分隔列表。如果观众选择回复,喜欢或转发嵌入的推文,此值将转发给 推文操作意图。
lang 枚举(语言) en 请求返回HTML和指定Twitter语言支持的嵌入推文中渲染的推文。

响应返回示例

https://publish.twitter.com/oembed?url=https://twitter.com/mafumuffin/status/1615328321184894976
PLAINTEXT
{"url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976","author_name": "マフィン","author_url": "https:\/\/twitter.com\/mafumuffin","html": "<blockquote class=\"twitter-tweet\"><p lang=\"ja\" dir=\"ltr\">創作の落書きあったから置いとく <a href=\"https:\/\/t.co\/wMD2SsMZnn\">pic.twitter.com\/wMD2SsMZnn<\/a><\/p>&mdash; マフィン (@mafumuffin) <a href=\"https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976?ref_src=twsrc^tfw\">January 17, 2023<\/a><\/blockquote>\n<script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script>\n","width": 550,"height": null,"type": "rich","cache_age": "3153600000","provider_name": "Twitter","provider_url": "https:\/\/twitter.com","version": "1.0"}

API:多推文获取

接口说明

这个方法用于通过传递给 id 参数的逗号分隔值获取最多 100 条推文的完全水合推文对象。此方法特别适用于获取推文 ID 集合的详细信息(水合)。使用 GET statuses/show/:id 来检索单个推文对象。 使用此方法时需要注意几点:
  • 您必须关注受保护用户才能看到他们的最新推文。如果您不关注受保护用户,他们的状态将被删除。
  • 推文 ID 的顺序可能不匹配返回数组中推文的顺序。
  • 如果请求的推文未知或已删除,则该推文将不会在结果列表中返回,除非设置了 map 参数,在这种情况下它将返回 null 值。
  • 如果没有任何查找条件与有效推文 ID 匹配,则 map=false 时将返回空数组。
  • 强烈建议使用 POST 进行更大规模的请求。
注意:”水合推文” 指的是获取完整的推文信息,包括推文的所有元数据和附加信息,如用户信息、被赞数量、被转发数量等。这些信息通常不包含在简单的推文概要中。 你可以查看官方的文档:https://developer.twitter.com/en/docs/twitter-api/v1/tweets/post-and-engage/api-reference/get-favorites-list
请求 URL:https://api.twitter.com/1.1/statuses/lookup.json 请求方式:get 或者 post
请求头必须携带上面的标准基本请求头中的authorizationhe和x-guest-token参数。
响应格式 JSON
需要验证 Yes
速率限制 Yes
15分钟内最大请求数(用户验证) 900
15分钟内最大请求数(APP验证) 300
名称 必需 描述 示例
id 必需 由逗号分隔的推文 ID 列表,单次请求最多允许 100 个。 20 1050118621198921728
include_entities 可选 设置为 false 时,嵌入状态中可能出现的 entities 节点将不会包含在内。 false
trim_user 可选 设置为 true、t 或 1 时,时间线中返回的每条推文将包含一个只包含状态作者数字 ID 的用户对象。省略此参数以接收完整的用户对象。 true
map 可选 使用 map 参数时,尽管不存在或当前用户无法查看的推文将仍有其键表示,但将与其配对明确的 null 值。 true
include_ext_alt_text 可选 如果已经向任何附加媒体实体添加了 alt 文本,则此参数将在媒体实体的顶级键中返回一个 ext_alt_text 值。如果没有设置值,则将返回 null。 true
include_card_uri 可选 设置为 true、t 或 1 时,返回的每条推文将包含一个 card_uri 属性,当推文附有广告卡片且该卡片使用 card_uri 值附加时。 true

响应返回示例

https://api.twitter.com/1.1/statuses/lookup.json?id=1615328321184894976
PLAINTEXT
[{"created_at": "Tue Jan 17 12:40:57 +0000 2023","id": 1615328321184894976,"id_str": "1615328321184894976","text": "創作の落書きあったから置いとく https:\/\/t.co\/wMD2SsMZnn","truncated": false,"entities": {"hashtags": [],"symbols": [],"user_mentions": [],"urls": [],"media": [{"id": 1615328246748573698,"id_str": "1615328246748573698","indices": [16, 39],"media_url": "http:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","url": "https:\/\/t.co\/wMD2SsMZnn","display_url": "pic.twitter.com\/wMD2SsMZnn","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976\/photo\/1","type": "photo","original_info": {"width": 1400,"height": 1300,"focus_rects": [{"x": 0,"y": 273,"h": 784,"w": 1400}, {"x": 0,"y": 0,"h": 1300,"w": 1300}, {"x": 0,"y": 0,"h": 1300,"w": 1140}, {"x": 0,"y": 0,"h": 1300,"w": 650}, {"x": 0,"y": 0,"h": 1300,"w": 1400}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"medium": {"w": 1200,"h": 1114,"resize": "fit"},"large": {"w": 1400,"h": 1300,"resize": "fit"},"small": {"w": 680,"h": 631,"resize": "fit"}}}]},"extended_entities": {"media": [{"id": 1615328246748573698,"id_str": "1615328246748573698","indices": [16, 39],"media_url": "http:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","media_url_https": "https:\/\/pbs.twimg.com\/media\/FmrMe2cacAIQUL8.jpg","url": "https:\/\/t.co\/wMD2SsMZnn","display_url": "pic.twitter.com\/wMD2SsMZnn","expanded_url": "https:\/\/twitter.com\/mafumuffin\/status\/1615328321184894976\/photo\/1","type": "photo","original_info": {"width": 1400,"height": 1300,"focus_rects": [{"x": 0,"y": 273,"h": 784,"w": 1400}, {"x": 0,"y": 0,"h": 1300,"w": 1300}, {"x": 0,"y": 0,"h": 1300,"w": 1140}, {"x": 0,"y": 0,"h": 1300,"w": 650}, {"x": 0,"y": 0,"h": 1300,"w": 1400}]},"sizes": {"thumb": {"w": 150,"h": 150,"resize": "crop"},"medium": {"w": 1200,"h": 1114,"resize": "fit"},"large": {"w": 1400,"h": 1300,"resize": "fit"},"small": {"w": 680,"h": 631,"resize": "fit"}},"media_key": "3_1615328246748573698"}]},"source": "<a href=\"https:\/\/mobile.twitter.com\" rel=\"nofollow\">Twitter Web App<\/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": 1085870390881091586,"id_str": "1085870390881091586","name": "マフィン","screen_name": "mafumuffin","location": "japan","description": "多忙|pkmn\/pkdn|創作|commission→skeb【https:\/\/t.co\/NfgpaBJrzY】(版権は非公開で) or DM|I'm not very good at English.","url": "https:\/\/t.co\/hzc8jBvqvS","entities": {"url": {"urls": [{"url": "https:\/\/t.co\/hzc8jBvqvS","expanded_url": "https:\/\/www.pixiv.net\/users\/52193448","display_url": "pixiv.net\/users\/52193448","indices": [0, 23]}]},"description": {"urls": [{"url": "https:\/\/t.co\/NfgpaBJrzY","expanded_url": "https:\/\/skeb.jp\/@mafumuffin","display_url": "skeb.jp\/@mafumuffin","indices": [32, 55]}]}},"protected": false,"followers_count": 3186,"fast_followers_count": 0,"normal_followers_count": 3186,"friends_count": 15,"listed_count": 19,"created_at": "Thu Jan 17 12:04:10 +0000 2019","favourites_count": 2457,"utc_offset": null,"time_zone": null,"geo_enabled": false,"verified": false,"statuses_count": 7715,"media_count": 615,"lang": null,"contributors_enabled": false,"is_translator": false,"is_translation_enabled": false,"profile_background_color": "F5F8FA","profile_background_image_url": null,"profile_background_image_url_https": null,"profile_background_tile": false,"profile_image_url": "http:\/\/pbs.twimg.com\/profile_images\/1610651394729734146\/syfj49sD_normal.jpg","profile_image_url_https": "https:\/\/pbs.twimg.com\/profile_images\/1610651394729734146\/syfj49sD_normal.jpg","profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/1085870390881091586\/1580476333","profile_link_color": "1DA1F2","profile_sidebar_border_color": "C0DEED","profile_sidebar_fill_color": "DDEEF6","profile_text_color": "333333","profile_use_background_image": true,"has_extended_profile": true,"default_profile": true,"default_profile_image": false,"pinned_tweet_ids": [1562819825239748608],"pinned_tweet_ids_str": ["1562819825239748608"],"has_custom_timelines": true,"following": null,"follow_request_sent": null,"notifications": null,"advertiser_account_type": "promotable_user","advertiser_account_service_levels": ["analytics"],"business_profile_state": "none","translator_type": "none","withheld_in_countries": [],"require_some_consent": false},"geo": null,"coordinates": null,"place": null,"contributors": null,"is_quote_status": false,"retweet_count": 5,"favorite_count": 84,"favorited": false,"retweeted": false,"possibly_sensitive": false,"possibly_sensitive_editable": true,"lang": "ja","supplemental_language": null}]

API:推文搜索

接口说明

返回与指定查询相关的相关 推文 集合。 请注意,Twitter 的搜索服务以及扩展的搜索 API 不是所有推文的终极来源。并非所有推文都会被索引或通过搜索界面提供。 要了解如何有效使用 Twitter搜索,请参阅标准搜索运算符页面,获取可用的筛选器运算符列表。此外,请参阅 处理时间线 页面,了解如何使用 since_id 和 max_id 导航结果的最佳实践。 你可以查看官方的文档:https://developer.twitter.com/en/docs/twitter-api/v1/tweets/search/api-reference/get-search-tweets
请求 URL:https://api.twitter.com/1.1/search/tweets.json 请求方式:get
请求头必须携带上面的标准基本请求头中的authorizationhe和x-guest-token参数。
响应格式 JSON
需要验证 Yes
速率限制 Yes
15分钟内最大请求数(用户验证) 180
15分钟内最大请求数(APP验证) 450
允许更改推文特点 Yes
名称 必须 描述 示例
q 必须 UTF-8编码,URL编码的最大长度为500个字符的搜索查询,包括运算符。查询可能还受复杂性限制。 @noradio
include_ext_edit_control 可选 必须设置为true,才能在Tweet对象中返回编辑后的Tweet元数据。 include_ext_edit_control=true 请注意,历史推文可能不包含编辑后的Tweet元数据。 要了解更多关于如何支持编辑后的推文,请参阅编辑推文基础页面。 true
geocode 可选 返回位于给定纬度/经度半径内的用户发布的推文。首先使用地理标记API获取位置,如果失败则使用Twitter个人资料。参数值由 ” latitude,longitude,radius “指定,其中半径单位必须指定为 ” mi “(英里)或 ” km “(公里)。请注意,您不能通过API使用near运算符对任意位置进行地理编码;然而,您可以使用此geocode参数直接搜索附近的地理编码。使用半径修改器时,将考虑最多1,000个不同的“子区域”。 37.781157 -122.398720 1mi
lang 可选 限制推文为给定语言,由ISO 639-1代码指定。语言检测是尽力而为的。 eu
locale 可选 指定发送的查询语言(目前仅ja有效)。这适用于特定语言的消费者,默认值应该在大多数情况下都可以工作。 ja
result_type 可选 可选。指定您希望接收的搜索结果类型。当前默认值为”mixed”。有效值包括: * mixed : 在响应中包括流行结果和实时结果。 * recent : 仅返回最近的结果。 * popular : 仅返回最受欢迎的结果。 mixed recent popular

响应返回示例

https://api.twitter.com/1.1/search/tweets.json?q=mafumuffin&count=1
PLAINTEXT
{"statuses": [{"created_at": "Wed Jan 18 10:42:51 +0000 2023","id": 1615660988786962434,"id_str": "1615660988786962434","text": "Windows開いた時に出てくる写真と謎文章、地味に好き","truncated": false,"entities": {"hashtags": [],"symbols": [],"user_mentions": [],"urls": []},"metadata": {"iso_language_code": "ja","result_type": "recent"},"source": "<a href=\"http:\/\/twitter.com\/download\/iphone\" rel=\"nofollow\">Twitter for iPhone<\/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": 1085870390881091586,"id_str": "1085870390881091586","name": "マフィン","screen_name": "mafumuffin","location": "japan","description": "多忙|pkmn\/pkdn|創作|commission→skeb【https:\/\/t.co\/NfgpaBJrzY】(版権は非公開で) or DM|I'm not very good at English.","url": "https:\/\/t.co\/hzc8jBvqvS","entities": {"url": {"urls": [{"url": "https:\/\/t.co\/hzc8jBvqvS","expanded_url": "https:\/\/www.pixiv.net\/users\/52193448","display_url": "pixiv.net\/users\/52193448","indices": [0, 23]}]},"description": {"urls": [{"url": "https:\/\/t.co\/NfgpaBJrzY","expanded_url": "https:\/\/skeb.jp\/@mafumuffin","display_url": "skeb.jp\/@mafumuffin","indices": [32, 55]}]}},"protected": false,"followers_count": 3186,"friends_count": 15,"listed_count": 19,"created_at": "Thu Jan 17 12:04:10 +0000 2019","favourites_count": 2457,"utc_offset": null,"time_zone": null,"geo_enabled": false,"verified": false,"statuses_count": 7715,"lang": null,"contributors_enabled": false,"is_translator": false,"is_translation_enabled": false,"profile_background_color": "F5F8FA","profile_background_image_url": null,"profile_background_image_url_https": null,"profile_background_tile": false,"profile_image_url": "http:\/\/pbs.twimg.com\/profile_images\/1610651394729734146\/syfj49sD_normal.jpg","profile_image_url_https": "https:\/\/pbs.twimg.com\/profile_images\/1610651394729734146\/syfj49sD_normal.jpg","profile_banner_url": "https:\/\/pbs.twimg.com\/profile_banners\/1085870390881091586\/1580476333","profile_link_color": "1DA1F2","profile_sidebar_border_color": "C0DEED","profile_sidebar_fill_color": "DDEEF6","profile_text_color": "333333","profile_use_background_image": true,"has_extended_profile": true,"default_profile": true,"default_profile_image": false,"following": null,"follow_request_sent": null,"notifications": null,"translator_type": "none","withheld_in_countries": []},"geo": null,"coordinates": null,"place": null,"contributors": null,"is_quote_status": false,"retweet_count": 0,"favorite_count": 3,"favorited": false,"retweeted": false,"lang": "ja"}],"search_metadata": {"completed_in": 0.027,"max_id": 1615660988786962434,"max_id_str": "1615660988786962434","next_results": "?max_id=1615660988786962433&q=mafumuffin&count=1&include_entities=1","query": "mafumuffin","refresh_url": "?since_id=1615660988786962434&q=mafumuffin&include_entities=1","count": 1,"since_id": 0,"since_id_str": "0"}}
读到这里,想听听你的声音。
写下感想