1

我正在尝试使用 Prime31 社交网络插件打开一个邀请框。问题是对话框总是第一次加载失败。在第一次失败后,对话框将从此工作。重新启动应用程序,它再次第一次失败。我正在使用以下代码打开对话框。

var options = new Dictionary<string, string>();
options["message"] = message;
FacebookAccess.showDialog("apprequests", options);

当我尝试这个时,这就是我在错误日志中得到的

2012-05-14 17:47:30.790 heroescall[158:707] error description: Error Domain=NSURLErrorDomain Code=-999 "The operation couldn’t be completed. (NSURLErrorDomain error -999.)" UserInfo=0xec7c890 {NSErrorFailingURLKey=https://m.facebook.com/dialog/apprequests?access_token=[TOKEN]&message=I%27ve%20answered%20the%20call%2C%20will%20you%3F%20Play%20Heroes%20Call%20for%20free%21&exclude_ids=&app_id=YYYY&api_key=YYYY&redirect_uri=fbconnect%3A%2F%2Fsuccess&sdk=2&display=touch, NSErrorFailingURLStringKey=https://m.facebook.com/dialog/apprequests?access_token=[TOKEN]&message=I%27ve%20answered%20the%20call%2C%20will%20you%3F%20Play%20Heroes%20Call%20for%20free%21&exclude_ids=&app_id=YYYY&api_key=YYYY&redirect_uri=fbconnect%3A%2F%2Fsuccess&sdk=2&display=touch}
2012-05-14 17:47:30.793 heroescall[158:707] error userInfo: {
    NSErrorFailingURLKey = "https://m.facebook.com/dialog/apprequests?access_token=[TOKEN]&message=I%27ve%20answered%20the%20call%2C%20will%20you%3F%20Play%20Heroes%20Call%20for%20free%21&exclude_ids=&app_id=YYYY&api_key=YYYY&redirect_uri=fbconnect%3A%2F%2Fsuccess&sdk=2&display=touch";
    NSErrorFailingURLStringKey = "https://m.facebook.com/dialog/apprequests?access_token=[TOKEN]&message=I%27ve%20answered%20the%20call%2C%20will%20you%3F%20Play%20Heroes%20Call%20for%20free%21&exclude_ids=&app_id=YYYY&api_key=YYYY&redirect_uri=fbconnect%3A%2F%2Fsuccess&sdk=2&display=touch";
}
14/05/12 05:47:30.860 (4.029738s) - Facebook Dialog failed - The operation couldn’t be completed. (NSURLErrorDomain error -999.)

有什么建议么?看起来这是在 Prime31 下的 FB 库中发生的事情,但我不确定到底是什么。

4

0 回答 0