我正在尝试使用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.)
有什么建议吗?在FB库中看起来像Prime31下面发生的事情,但我不确定究竟是什么。