DM Media Download Issues


I'm finding myself unable to display media attached to DMs. On further investigation (querying the given uri in Fiddler) I am finding that it returns a requires authorization error.

Is there any way to manually extract the authorization info from TwitterContext to use in an HttpClient request to try to download the image?

To replicate -

<Image Source="{MediaUri from DM}" />

This will fire ImageFailed with E_NETWORK_ERROR - Then try to query the same uri in Fiddler to get the authorization info.

(Windows Universal App)


BradStevenson wrote Mar 18, 2015 at 8:40 PM

So it looks like using the proxy field on IAuthorizer would be perfect for this scenario but isn't available in Windows Store apps.

JoeMayo wrote Mar 25, 2015 at 5:20 PM

There's a Proxy property on TwitterContext. Will that work?

BradStevenson wrote Mar 25, 2015 at 7:08 PM

Unfortunately it's not available in Windows Runtime Projects (IWebProxy)