API Tweet shortURL doesn't match Actual Tweet shortURL

extended-tweet

#1

I use the REST API to locate tweets based on search and I’ve noticed something peculiar that I don’t understand.

Example:

The API pull backs a tweet with the ID: 786952985263955968
And the corresponding text pulled is this: Non-delegable duties of [etc]… https://t.co/GHlVNR4CJa

As you can see in the actual tweet here – https://twitter.com/i/web/status/786952985263955968 – the shortURL pulled by the API does not match the one in the actual tweet. In fact, the shortURL returned by the API is a link back to the tweet itself. It does not link to the article that the shortURL in the actual tweet links to.

Can someone explain what is going on here? I use the shortURL to resolve the actual destination article but in these cases it is not happening.

Thanks!


#2

You need to use tweet_mode=extended


#3

Thanks! Looks like exactly what I need.