redouane59 / twittered

Twitter API client for Java developers
Apache License 2.0
234 stars 64 forks source link

[main] ERROR io.github.redouane59.twitter.helpers.AbstractRequestHelper #456

Open wadashinokamisama opened 5 months ago

wadashinokamisama commented 5 months ago

Hello, thank you for your project. I am a newbie in using twitter api. I am very sure that there is no problem with this apikey and token because they were just generated. I noticed that the label of this project is twitter api 1.1. Is it because of this error.

The error [main] ERROR io.github.redouane59.twitter.helpers.AbstractRequestHelper - (GET) Error calling https://api.twitter.com/2/tweets/1741730982368289265 {"client_id":"28251539","detail":"When authenticating requests to the Twitter API v2 endpoints, you must use keys and tokens from a Twitter developer App that is attached to a Project. You can create a project via the developer portal.","registration_url":"https://developer.twitter.com/en/docs/projects/overview","title":"Client Forbidden","required_enrollment":"Appropriate Level of API Access","reason":"client-not-enrolled","type":"https://api.twitter.com/2/problems/client-forbidden"} - 403

redouane59 commented 5 months ago

Hello, you're problem is not related to the library itself but to the twitter API. You can try to post directly in their forum but it looks like you are not using correct credentials.