Issue with tweet replier response API

api

#1

Hi, I am using the following API to reply to a tweet (https://dev.twitter.com/rest/reference/post/statuses/update).

When I am trying to attach an image with a text length b/w 116 & 140 characters, I am not getting “extended_entities” field in the response. However the image does get uploaded in the replied tweet in twitter.

However when the text length is b/w 0 and 115 characters, then we are getting “extended_entities” field in response from twitter API and the image also gets uploaded in replied tweet in twitter.

Why am I not getting “extended_entities” field for text length above 115 characters?


#2

Are you using the tweet_mode=extended parameter? See the documentation on longer Tweets for details.


#3

Hi Andy,
Thanks for the help. It worked.