There is no documentation for a function to fetch a list of likes, mutes and blocks in Twitter API v2.

Does this mean that these functions will be completely removed in the future? Or is it just not documented now and will be implemented in the future?

The sources are below:

Announcing new manage Likes endpoints for theTwitter API v2

Announcing manage blocks for Twitter API v2

You will need to use the API v1.1 endpoints for these tasks. The v2 endpoints are, typically, replacements for retiring v1.1 endpoints.

As an example, see the note at the top of the Overview for Mute, block, and report users.

I believe they announce here when v2 endpoints go live and v1.1 are considered deprecated.

Hope that helps.

1 Like

Thank you for your information. I know the v1.1 endpoints. Moreover, I want to know future plans of v2.

I know the public roadmap too.

Fortunately, a new release was announced the very day I asked this question.

Announcing Twitter API v2 Likes lookup and blocks lookup

Blocks and Likes endpoints are now complete on the Twitter API v2

1 Like

Hi,

Thanks for reaching out to us. We just released Likes and blocks endpoints, and as stated on the roadmap, we are working on mutes currently. We don’t have a timeframe for this yet, but we will post an announcement here when this is ready.

3 Likes

I especially like the “Unlikes older Tweets” feature. Thanks!

https://developer.twitter.com/en/docs/twitter-api/tweets/likes/introduction

I especially like the “Unlikes older Tweets” feature. Thanks!

I just tried it for three tweets posted in 2016 and none of them unliked correctly. I look forward to future development. :cry:

Thanks for letting us know. I can actually look into this. How old was the Tweet? What exactly was the error you ran into? Do you have a Tweet ID where you ran into this issue?

1 Like

Thanks for your response. Is this enough information for you?

So the "liked": false response indicates that the user should no longer like the Tweet. So where do you see that you do like the Tweet?

Unfortunately, the "liked": false is wrong.

Please see liking users of a tweet in your web browser. Nanzefu is listed as one of liking users. After calling “DELETE /2/users/:id/likes/:tweet_id”, He is still in the list.

2016/05/04 https://twitter.com/MwBi0/status/727788122843439104/likes?lang=en
2016/05/05 https://twitter.com/MwBi0/status/728148648215777281/likes?lang=en
2016/05/13 https://twitter.com/katyusyainsect/status/731061216957726720/likes?lang=en

I asked Nanzefu what the tweet looked like to him in his browser. He said that when he saw one of the three tweets , the red heart shape is not colored, but he is in the liking users.

This problem is known and has been reported in other thread; the same thing is happening with Retweet as well as Like.

1 Like

Thanks for getting in touch with us about this issue. I spoke with some folks internally and learned that this endpoint works with the like activity from our timelines service, which contains roughly the last 3200 Tweets. It seems, there may be some issues unliking a Tweet past that point.

Thanks for reporting this issue. We are considering making some documentation changes based on this learning and will try to explore ways to prevent this issue from occurring in the future.

4 Likes

Thank you for your kindness and support. I am looking forward to it.

2 Likes