我无法从Graph Facebook加载图像 [英] I can't load images from Graph Facebook

查看:135
本文介绍了我无法从Graph Facebook加载图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

其他类型为正常的网址: https://graph.facebook.com/100779423975829 /picture?type = normal


我尝试从BitmapFactory加载Glide,Picasso,UniversalImageLoader和DecodeStream的url,但效果不佳,结果是下一个:

  • UniversalImageLoader:图像无法解码
  • BitmapFactory: bitmap = null

如果我使用Chrome pc打开网址,则会自动下载照片而无需打开.

在我的应用程序的webview中,我检查了该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

还有其他人在从Facebook图形中加载图像配置文件时遇到问题吗?

谢谢!

编辑

该错误已从Facebook解决. https://developers.facebook.com/bugs/261587761048160/

解决方案

最后,这是一个Facebook错误.因此问题是由他们自己解决的.

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

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/

解决方案

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

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

这篇关于我无法从Graph Facebook加载图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆