fresco icon indicating copy to clipboard operation
fresco copied to clipboard

Cannot load urls with redirect

Open kssilvoza opened this issue 11 years ago • 2 comments

I am currently migrating our app to fresco but I encountered a problem. Whenever I try loading a url that redirects to another url to the SimpleDraweeView, the image does not load at all. How can I fix this?

kssilvoza avatar Apr 01 '15 07:04 kssilvoza

I think the OkHttp stack handles this correctly and we do provide OkHttp backend for our pipeline. See: http://frescolib.org/docs/using-other-network-layers.html#_

plamenko avatar Apr 02 '15 18:04 plamenko

Excelent, this solves the problem.

I was trying to download a Facebook Profile Image via graph api url, but it has redirect, so I used @plamenko solution and it worked.

yobijoss avatar Apr 08 '15 19:04 yobijoss