首次使用Facebook Unity SDK,它能够在编辑器中下载用户的个人资料图片。然而,当我试图在Facebook Canvas上测试它时,它无法下载它。
You are trying to load data from a www stream which had the following error when downloading.
Failed downloading
https://graph.facebook.com/useridhere/picture?access_token=usertokenhere
为什么会这样?
我尝试了两个命令中的任何一个:
FB.API ("me?fields=picture.type(small)", Facebook.HttpMethod.GET, LogCallback);
FB.API ("/me/picture", Facebook.HttpMethod.GET, LogCallback);
我正在使用SDK的5.0.4