Does someone have noticed that the urls object of user_timeline does not always contain all the urls that are in a tweet.
When I request the tweets for a specific user via https://api.twitter.com/1.1/statuses/user_timeline.json?user_id=2275171&count=40&trim_user=true, I got the tweets with and without images and videos.
Most of those tweets containing an URL eg: https://api.twitter.com/1.1/statuses/show.json?id=852900006784892930 (https://twitter.com/i/web/status/852900006784892930) and the urls object for this tweet contains two items. The first one is the shortened URL and the second one is an URL to the tweet itself.
When I select another tweet https://api.twitter.com/1.1/statuses/show.json?id=850289696584368129 (https://twitter.com/i/web/status/850289696584368129), then the urls object only contains the URL to the tweet itself and not the URL inside the tweet.
I have noticed that the length of the tweet does matter and the location of the URL in de tweet. When the URL is added in the first half of the tweet, the URL is added to the urls object. But when it’s placed in the second part of the tweet it depends if there is an image or video attached. If there is a media item attached, then the URL isn’t added to the urls object. If there aren’t any media attached the URL is added to this object.
Can this bug be resolved in the API, because we’re building a software solution that is depending heavily on this contents?