redouane59 / twittered

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

searchAllTweets doesn't work well #256

Closed Boby024 closed 3 years ago

Boby024 commented 3 years ago

When calling "searchAllTweets" the message below is given

(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

But it worked well when calling i.e getTweet or getUserFromUserId How could I fix it?

redouane59 commented 3 years ago

Duplicate of https://github.com/redouane59/twittered/issues/251 Will be solved in the next release this week, the problem is not on your side don't worry. Currently you can just set resursiveCall to false to be able to use it.

Boby024 commented 3 years ago

@redouane59 thanks!