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
是专辑的ID Profile Pictures
(虚拟ID)
它给出了以下例外:
{Response: responseCode: 200, graphObject: null, error: {HttpStatus: 403, errorCode: 220, errorType: OAuthException, errorMessage: (#220) 相册不可见}}
正常吗?有什么办法可以上传图片Profile Pictures
吗?