Why cannot get statuses for response tweet_id


#1

I get list of tweet_id by getting GET accounts/:account_id/promoted_tweets.

The response is:

{
	"line_item_id": "id",
	"deleted": true,
	"updated_at": "2017-02-27T03:06:16Z",
	"tweet_id": "**823334691629662208**",
	"approval_status": "ACCEPTED",
	"created_at": "2017-01-23T01:01:24Z",
	"id": "id",
	"entity_status": "ACTIVE"
},
{
	"line_item_id": "id",
	"deleted": true,
	"updated_at": "2017-02-27T03:06:16Z",
	"tweet_id": "**770103327388495872**",
	"approval_status": "ACCEPTED",
	"created_at": "2017-01-23T01:01:24Z",
	"id": "id",
	"entity_status": "ACTIVE"
},.......

Then, I use GET statuses/lookup for those tweet_id.
But, I only see the result of tweet_id = ‘770103327388495872’.
I cannot see the resulr of tweet_id = ‘823334691629662208’. I try to input the tweet_id on browser.

https://twitter.com/…/status/770103327388495872 => it’s show the tweet.
https://twitter.com/…/status/823334691629662208=> Sorry, that page doesn’t exist!
Can you tell me why?


#2

@dudoan1234: Good question. It’s likely that this Tweet has been deleted.

Here is the response from the GET statuses/show/:id request:

$ twurl -H api.twitter.com "/1.1/statuses/show/823334691629662208.json?trim_user=true"
{
  "errors": [
    {
      "code": 144,
      "message": "No status found with that ID."
    }
  ]
}

As the documentation states, error code 144:

Corresponds with HTTP 404. The requested Tweet ID is not found (if it existed, it was probably deleted)

Note that Tweet delete operations are permanent and cannot be undone.

Hope this helps.