What endpoint are you using?
/2/users/:id/tweets
What API version are you on?
V2
What is the issue?
How do you determine if the user has liked/favourited a tweet using timelines in V2?
In V1 there is a favourited key but I can’t figure out how to show if the tweet has been favourited by a user using V2.
I was looking at the likes api to see if maybe I had to send an array of tweet IDs to see if the user had liked any of the tweets in the timeline.
Thanks.
1 Like
There is no single field like this in v2, you have to either use GET /2/tweets/:id/liking_users | Docs | Twitter Developer Platform for a tweet to check for users, or GET /2/users/:id/liked_tweets | Docs | Twitter Developer Platform to check for tweets liked by a user
1 Like
@JRSim_UIX ,
This is a very important issue, and I submitted a proposal to improve the Twitter API a few months ago, citing similar issues, but nothing has actioned since it was approved.
Without this liked or retweeted flag, many mobile apps using the Twitter API would be in jeopardy of survival.
2 Likes
Thanks for creating this @kato_shinya
@IgorBrigadir would you be able to nudge anyone to take a look at the proposal?
Andy was on it - but guessing it dropped and has been lost.
Thanks.
2 Likes
As for nudging, unfortunately not - apart from posting here and the github repo, there’s no longer any reliable way to contact anyone left at twitter - and all the people that i used to be able to contact as part of the developer insider thing have now gone or got fired.
2 Likes
@lananelson @suhemparack - Would the team be able to take a quick look at this proposal to help improve v2 API?
Thanks!