redouane59 / twittered

Twitter API client for Java developers
Apache License 2.0
237 stars 65 forks source link

Error when using searchAllTweets() with parameter "recursiveCall" set to true #251

Closed ckakalou closed 3 years ago

ckakalou commented 3 years ago

The searchAllTweets() method throws an error when setting the "recursiveCall" parameter to true:

ERROR AbstractRequestHelper - (GET) Error calling https://api.twitter.com/2/tweets/search/all {"title":"Unsupported Authentication","detail":"Authentication with OAuth 1.0a User Context is forbidden. Please, make the request with OAuth 2.0 Bearer Token authentication.","type":"https://api.twitter.com/2/problems/unsupported-authentication"} - 403

This however does not happen when "recursiveCall" is set to false.

I should note that I am using credentials issued for the Academic Track.

redouane59 commented 3 years ago

Hi @ckakalou , thanks for the issue. I'm going to check that tonight or tomorrow. I'll keep you informed quickly.

redouane59 commented 3 years ago

It's ok, the problem should be solved now. The fix will come with the next release 2.5 :)

redouane59 commented 3 years ago

You can now use v2.5 :) https://github.com/redouane59/twittered/releases/tag/v2.5