Getting user medias


#1

I’m trying to retrieve from the API the medias associated to an user account (not only his profile picture or profile banner). I’ve been digging in the API with no success so far.

(Im talking about the ones you can get on https://twitter.com/username/media)

Any idea?


#2

Unfortunately there’s no API endpoint to help you here. You’d need to query for Tweets posted by the user which have media attached, which is not ideal.


#3

@andypiper thanks for your answer, do you plan at twitter to release a more complete API in the future? Or is it on purpose that you dont provide these endpoints?


#4

I don’t have anything to share at the moment about any addition to the API that would give you all of a user’s media uploads. This simply hasn’t been something we’ve prioritised building a public API for, so far.