Closed Programistich closed 2 years ago
Sorry I was wrong, the authentication is not needed. Try to use getLikedTweets
method !
From User or what?
From TwitterClient
, it's a V2 method :)
But i need to setup Oath2? How i can that in TwitterCredentials?
You just need to instantiate the TwitterClient with your credentials yes. Then you can check the example on the integration test : https://github.com/redouane59/twittered/blob/develop/src/test/java/io/github/redouane59/twitter/nrt/ITwitterClientV2Test.java#L460
For the instantiation of the TwitterClient, check the readme : https://github.com/redouane59/twittered#readme
Can I close this issue ?
I just tested this method and it works. In the documentation it is mentioned that the endpoint supports pagination. But with this Java method I always get all liked tweets, which can be a lot and quite slow. Let me know if I should report a separate issue for this.
Never mind, I missed the overload with the AdditionalParameters
🤦
Don't worry haha, can we close the issue ?
I don't think that such endpoint exists. For now you can only see the likes of an authenticated user.