twitter-api-java-sdk icon indicating copy to clipboard operation
twitter-api-java-sdk copied to clipboard

A Java SDK for the Twitter API

Results 36 twitter-api-java-sdk issues
Sort by recently updated
recently updated
newest added

I got an error `Unexpected value verified` when I tried to get Tweets because [ReplySettings](https://github.com/twitterdev/twitter-api-java-sdk/blob/main/src/main/java/com/twitter/clientlib/model/ReplySettings.java#L40) isn't support value `"reply_settings": "verified"` This kind of `reply_settings` I received using below request to...

Hey guys, do you plan to add to your SDK `https://api.twitter.com/2/usage/tweets` endpoint handling? https://developer.twitter.com/en/docs/twitter-api/usage/tweets/introduction IMO it'll be very helpful to check for limits before executing other actions.

When calling twitter v2 api by twitterApi.users().findMyUser() when user's accessToken, the user's twitter account is suspened, but the api does not deserialize the ApiException properly. ```java TwitterCredentialsOAuth2 oAuth2Credential = new...

### Problem The current SDK does not support DM APIs. ### Solution With this pull request, basic support for DM APIs is added. Specifically, `/2/dm_events` and `/2/dm_conversations/:id/messages` are now supported.

In TweetsApi all methods xxxxWithHttpInfo doesn't manage Json exception. For example, to have recent tweets, the flow goes into `tweetsRecentSearchWithHttpInfo` that has this code (some parts omitted to help reading)...

Getting an IllegalArgumentException when deserializing JSON response to create tweet. It looks like the TweetCreateResponseData class doesn't contain fields present in the create tweet response JSON since Sept 20, 2022:...

As per this code to post a tweet https://github.com/twitterdev/twitter-api-java-sdk/blob/main/docs/TweetsApi.md#createTweet, it is throwing a NullPointer error. ### Expected behavior A given text should be created or posted. ### Actual behavior With...

When I included the SDK into my project and rebuild project, it make error as below: Execution failed for task ':app:mergeExtDexAppDebug'. > Could not resolve all files for configuration ':app:AppDebugRuntimeClasspath'....

it always give this error, and not have any runnable offical demo { "client_id": "27988566", "detail": "When authenticating requests to the Twitter API v2 endpoints, you must use keys and...