Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I can't load images from Graph Facebook

url: https://graph.facebook.com/100779423975829/picture?type=large;

other url with type normal: https://graph.facebook.com/100779423975829/picture?type=normal


I tried to load url with Glide, Picasso, UniversalImageLoader and decodeStream from BitmapFactory and don't have any good result and the result is the next:

  • UniversalImageLoader: Image can't be decoded
  • BitmapFactory: bitmap = null

If I open the url with Chrome pc I will automatically download the photo without opening it.

in the webview from my app, i check the redirects from this url:

  1. https://lookaside.facebook.com/platform/profilepic/?asid=100779423975829&height=200&width=200

  2. https://m.facebook.com/platform/profilepic/?asid=100779423975829&height=200&width=200

Anyone else is having problems loading image profiles from Facebook graphs?

Thanks!

EDIT

The bug is resolved from Facebook. https://developers.facebook.com/bugs/261587761048160/

like image 721
javieritis Avatar asked Nov 07 '22 09:11

javieritis


1 Answers

Finally this was a facebook bug. So the problem is fixed by themselves.

https://developers.facebook.com/bugs/261587761048160/

like image 186
Fran Avatar answered Nov 14 '22 21:11

Fran