Twitter Mention Timeline not returning post


#1

The following post is not getting returned by https://api.twitter.com/1.1/statuses/mentions_timeline.json
for the account https://twitter.com/Amica. The post contains a mention to this account.

Post: https://twitter.com/diy_website/statuses/824698869418258433

Why is this post not returned for the mentioned account?
Thanks.


#2

That post was from several days ago, if the account @Amica gets a lot of mentions you will have to paginate through them using cursors. Also, there is a limit on the number of mentions you can look up for a user so if there have been a lot since that tweet you may not be able to fetch it.


#3

I am already using pagination and I am yet not getting this post.


#4

Is that post within the 800 mentions limit for the timeline endpoint?

If you’re expecting it to be there and it is not (i.e. earlier posts are showing but this one is not) then it could be filtered out for a number of reasons e.g. if it was marked as spam or reported by another user, withheld in a geo (unlikely in that particular case), etc.


#5

Thanks @andypiper for the response.
Is it possible that a tweet marked spam by another user is not fetched via mentions_timeline but is returned via statuses/show API?

Thanks.


#6

Yes, it could be filtered out of a timeline or array of search results, but still be retrievable directly by Tweet ID.


#7

Thanks a lot for the clarification!