1. When I send request to GET accounts/:account_id/tweets, the response data is empty
  • Request
GET /8/accounts/18ce54rfjwz/tweets?tweet_type=PUBLISHED&timeline_type=ALL&tweet_ids=1339691843609636873
  • Response
{
	"request": {
		"params": {
			"tweet_ids": [
				"1339691843609636873"
			],
			"tweet_type": "PUBLISHED",
			"timeline_type": "ALL",
			"account_id": "18ce54rfjwz"
		}
	},
	"next_cursor": null,
	"data": []
}
  1. But I can get the detail response data by sending request to GET statuses/lookup
  • Request
GET /1.1/statuses/lookup.json?id=1339691843609636873&include_entities=true
  • Response
[
	{
		"created_at": "Thu Dec 17 22:00:00 +0000 2020",
		"id": 1339691843609636873,
		"id_str": "1339691843609636873",
		"text": "【 #パンテーン プレゼンツ お天気予報】\n12/18は広い範囲で、髪がうねりがち☔️\nこんな日も #お天気トリートメント なら、髪はへっちゃら‼️どんな天気でも  #HairWeGo \n\n詳細はこちら→… https://t.co/uid7DL9qJZ",
		"truncated": true,
		"entities": {
			"hashtags": [
				{
					"text": "パンテーン",
					"indices": [
						2,
						8
					]
				},
				{
					"text": "お天気トリートメント",
					"indices": [
						50,
						61
					]
				},
				{
					"text": "HairWeGo",
					"indices": [
						83,
						92
					]
				}
			],
			"symbols": [],
			"user_mentions": [],
			"urls": [
				{
					"url": "https://t.co/uid7DL9qJZ",
					"expanded_url": "https://twitter.com/i/web/status/1339691843609636873",
					"display_url": "twitter.com/i/web/status/1…",
					"indices": [
						104,
						127
					]
				}
			]
		},
		"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": 712914636203433984,
			"id_str": "712914636203433984",
			"name": "ウェザーニュース",
			"screen_name": "wni_jp",
			"location": "",
			"description": "株式会社ウェザーニューズ(WNI)の公式アカウント \n▼天気予報はどこで見ても同じ?実は違います。ウェザーニュース独自の天気予報は高精度が自慢です! \n▼便利なスマホアプリは、台風や地震の速報通知など防災情報も充実(リンクから無料ダウンロード) \n▼24時間生放送番組アカウントは→ @wni_live",
			"url": "https://t.co/8lmm73Ux6f",
			"entities": {
				"url": {
					"urls": [
						{
							"url": "https://t.co/8lmm73Ux6f",
							"expanded_url": "https://weathernews.jp/s/download/weathernewstouch.html?fm=twitter_w",
							"display_url": "weathernews.jp/s/download/wea…",
							"indices": [
								0,
								23
							]
						}
					]
				},
				"description": {
					"urls": []
				}
			},
			"protected": false,
			"followers_count": 353972,
			"friends_count": 206,
			"listed_count": 7249,
			"created_at": "Thu Mar 24 08:11:09 +0000 2016",
			"favourites_count": 461,
			"utc_offset": null,
			"time_zone": null,
			"geo_enabled": false,
			"verified": true,
			"statuses_count": 30469,
			"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/1270861032248885248/ltnTW4Hh_normal.jpg",
			"profile_image_url_https": "https://pbs.twimg.com/profile_images/1270861032248885248/ltnTW4Hh_normal.jpg",
			"profile_banner_url": "https://pbs.twimg.com/profile_banners/712914636203433984/1594275340",
			"profile_link_color": "0C419A",
			"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,
			"following": false,
			"follow_request_sent": false,
			"notifications": false,
			"translator_type": "none"
		},
		"geo": null,
		"coordinates": null,
		"place": null,
		"contributors": null,
		"is_quote_status": false,
		"retweet_count": 0,
		"favorite_count": 4,
		"favorited": false,
		"retweeted": false,
		"possibly_sensitive": false,
		"scopes": {
			"followers": false
		},
		"lang": "ja"
	}
]

I read Getting Quote Tweets at account_id/tweets Endpoint and I know that

GET accounts/:account_id/tweets endpoint does not return Quote Tweets.

But in above response data, tweet_id = 1339691843609636873 is not quoted tweet (“is_quote_status”: false). Can you help me to clear this issue?

Thank you very much!

Ad accounts can only promote Tweets created by accounts that are listed in as promotable users for the account. The example provided from above is not listed as a promotable user.

The Ads API tweets endpoint will only return Tweets that can be promoted by the account. This tutorial may be helpful promoting another user’s content. You should contact your Twitter representative to set up an agreement to promote another user’s content.

1 Like