Retrive just the media_url from the API



I’m creating a tweet image functionality using Codebird js library.
I was able to use the media_upload to get the media_id.
But how do I get the media url?


You need to attach the media (media_id) to a new Tweet first, before a URL will be generated for the media.