When making a request for tweets that mention the account @HamCoHealthIN (https://twitter.com/intent/user?user_id=735537393613340672), there was a tweet that we expected to be returned that wasn’t. The tweet in particular (https://twitter.com/Dq_Manley/status/812452324891312128) mentions @HamCoHealtIN and is still visible, so we expected this tweet to be returned in the list of mentions.
When requesting the specific tweet through the Twitter API Debugger, we noticed that in the user_mentions section, the id and id_str fields for HamCoHealthIN are do not match:
"user_mentions": [
{
"screen_name": "HamCoHealthIN",
"name": "Hamilton Co. Health",
"id": 735537393613340700,
"id_str": "735537393613340672",
"indices": [
0,
14
]
},
{
"screen_name": "Fishers_Police",
"name": "Fishers_Police",
"id": 301467503,
"id_str": "301467503",
"indices": [
15,
30
]
},
{
"screen_name": "HSESchools",
"name": "HSE Schools",
"id": 1561139262,
"id_str": "1561139262",
"indices": [
31,
42
]
}
]
We believe that this might be the reason why the tweet does not appear in the mentions feed for HamCoHealthIN, as the user id 735537393613340700 does not point to @HamCoHealthIN, but in fact points to a non-existent user page.