Open
Description
TwitterCredentialsOAuth2 twitterCredentialsOAuth2 = new TwitterCredentialsOAuth2(xxx, xxx, xxx, xxx);
TwitterApi apiInstance = new TwitterApi(twitterCredentialsOAuth2);
apiInstance.tweets().createTweet(new TweetCreateRequest().text("hellow world"));
{"client_id":"27512824","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"}
When I push Twitter, I report an error and I guarantee that my app is not a standalone app in the project 。 What permissions do I need to activate。
Metadata
Metadata
Assignees
Labels
No labels
Activity