GraphRequest imagesAlbumPost = new GraphRequest(token, "/1325165102/photos",
bundle, HttpMethod.POST,
new GraphRequest.Callback() {
public void onCompleted(GraphResponse response) {
uploadedPhotoId = "";
Log.d("Image Post", "Res =" + response.toString());
}
});1325165102是专辑Profile Pictures (虚拟id)的id。
它提供了以下例外:
{响应: responseCode: 200,graphObject: null,错误:{HttpStatus: 403,errorCode: 220,errorType: OAuthException,errorMessage:(#220)相册或专辑不可见}
正常吗?有没有办法把照片上传到Profile Pictures
发布于 2015-08-21 08:01:27
您不能再上传到用户的个人资料图片相册了。
你只能上传到为你的应用程序创建的相册(Facebook会自动上传,如果你发到/me/相册),或者你可以上传到"Profile Pictures“相册以外的特定相册,然后用户可以选择通过Facebook UI使用该图像作为他们的新配置文件图像。
希望这能有所帮助!
发布于 2015-08-21 08:09:19
不,可以上传到facebook相册“个人资料图片”,但你必须创建测试用户,只有那些测试用户,你可以上传图片
https://stackoverflow.com/questions/32135230
复制相似问题