redouane59 / twittered

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

Twitter Response Empty when Responding to Post? #323

Closed marcphilippebeaujean-abertay closed 2 years ago

marcphilippebeaujean-abertay commented 2 years ago

I noticed that since updating to the latest build and using the new TwitterParameters builder, I've been getting back empty response body when replying to Tweets. Is this something with my code or changes in the code?

TweetParameters.Reply tweetReplyParams = TweetParameters.Reply .builder() .inReplyToTweetId(replyingToPostTwitterId) .build(); TweetParameters tweetParameters = TweetParameters.builder() .reply(tweetReplyParams) .build(); tweetFromApi = twitterClient.postTweet(tweetParameters);

marcphilippebeaujean-abertay commented 2 years ago

It was in fact my (frontend) code! The "tweet" text was empty when sending the reply, so obviously no Tweet was created.

MAkif06 commented 9 months ago

Hi,

I have the same error. When posting a tweet by using postTweet() method, tweet is posting but return object include just Id and Tweet text. For examplei I need tweet create date but return object retun null this value. How to get other ınformation from response object ?

Issue