Facebook图形用户图片不会在移动设备上显示 [英] Facebook graph user picture won't show on mobile devices
问题描述
我使用URL https://graph.facebook.com/{app_user_id}/picture?width=120&height=120
在我的应用程序上显示用户图片,但是自今天早上以来,它已停止在移动设备上工作.
I use the url https://graph.facebook.com/{app_user_id}/picture?width=120&height=120
to show the user picture on my app, but since this morning, it has stopped working on mobile devices.
现在,相同的URL重定向到https://lookaside.facebook.com/platform/profilepic/?asid={app_user_id}&height=120&width=120
.此url在台式机Web上有效,但在移动设备上,它将再次重定向到https://m.facebook.com/platform/profilepic/?asid={app_user_id}&height=120&width=120
,并且移动Web拒绝输出图像.如果我尝试将其加载到地址栏中,则会下载而不是显示.
Now, the same url redirects to https://lookaside.facebook.com/platform/profilepic/?asid={app_user_id}&height=120&width=120
. This url works on desktop web, but on mobile it redirects again to https://m.facebook.com/platform/profilepic/?asid={app_user_id}&height=120&width=120
and the mobile web refuses to output the image. If I try to load it in the address bar, it is downloaded instead of showed.
我已经在Facebook图api上搜索了与此相关的任何更改,但未找到任何内容.有什么解决的提示吗?谢谢.
I have searched for any change on the Facebook graph api about this but didn't find anything. Any hint to solve this? Thanks.
推荐答案
这似乎是一个错误.今天早上我的应用开始出现这种情况.到目前为止还没有修复.
This seems to be a bug. Started happening to my app earlier on this morning. Still no fix as of yet.
已在Facebook上为开发人员提交了一些错误报告:
A few bug reports that have been submitted on Facebook for Developers:
- Profile Pictures Can't Load
- Graph API Profile picture doesn`t work on mobile
- Cross site policy error while accessing graph pictures
这篇关于Facebook图形用户图片不会在移动设备上显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!