我正在使用面向Unity v5.1的Facebook SDK。
我在我的Android设备上成功登录我的Facebook帐户,我可以将新闻提要发布到时间轴,但我无法发布评分。我正在使用来自的代码 https://developers.facebook.com/docs/games/unity/unity-tutorial
public void ShareScore() {
if (FB.IsLoggedIn) {
var query = new Dictionary<string, string>();
query["score"] = score.ToString();
FB.API("/me/scores", Facebook.HttpMethod.POST, delegate(FBResult r) { Debug.Log("Result: " + r.Text); }, query);
}
}
我检查它说的logcat
E/Unity (29987): You are trying to load data from a www stream which had the following error when downloading.
E/Unity (29987): java.io.FileNotFoundException: https://graph.facebook.com/me/scores
我已授予publish_actions权限。
有什么问题?感谢