Downloading DM attached images


#1

Is it possible to download images attached to DMs over the API? A user can’t view the urls given in the entities.media dict unless they are logged in to the account the DM has been sent to. We want to display images to people who aren’t logged in using their API keys.


#2

Using OAuth 1.0A and the recipient or sending user’s access token (or an session-authenticated webview) is the only way.

The images are not meant to be displayed to any other user besides the sender or recipient and should generally not be used for other purposes.


#3

Thanks for this, I’ll have a look at doing that. =)


#4

Can you please explain me how to download images attached to DMs over the API?


#5

To point people in the right direction if they find this post.


#6