Unable to load pictures sent via DM after cookies are expired


#1

Hello,

I’m currently developing my own Twitter client for Firefox OS.
When the user authorizes the app, he logs in to twitter.com, so right after the authorization the app is able to load every picture. But at least one day later, the session cookies for twitter.com expire, every request for a picture send via a direct message gets redirected to “https://twitter.com/login?redirect_after_login=…”. This makes it impossible for the app to load the pictures.
What can I do against this?

– Jovan Gerodetti


#2

This use case is not supported. To display an image included in a DM, an app is supposed to download the image using OAuth and then display the downloaded image to the user.


#3

okay, thank you very much.