问题描述
我一直在尝试使用Corona SDK的Facebook API在我正在Facebook上开发的游戏上发布得分。但是,我遇到了问题。在我第一次尝试发布到Facebook时,我在登录和用户身份验证后收到此错误:
I've been trying to use Corona SDK's Facebook API to post the score on the game I'm developing on facebook. However, I'm having a problem with it. During the first time I try to post to facebook, I get this error after login and user authentication:
然后,它不会在Facebook上发布。导致此错误的可能原因是什么?如何解决?我尝试搜索网络但无法找到相关信息。提前致谢。
Then, it won't post on facebook. What are possible causes of this error and how can I address it? I tried searching the web but couldn't find information about it. Thanks in advance.
顺便说一下,我没有在我的应用上使用webview。只是我的Facebook类中的widget api和show_dialog监听器。
By the way, I am not using webview on my app. Just the widget api and a show_dialog listener in my Facebook class.
推荐答案
(iOS文档)
文档中的相关部分将是:
The concerned segment from the documentation will be:
enum
{
NSURLErrorUnknown = -1,
NSURLErrorCancelled = -999,
NSURLErrorBadURL = -1000,
NSURLErrorTimedOut = -1001,
如你所见; -999
是由 ErrorCancelled
引起的。这意味着:在上一个请求完成之前发出了另一个请求。
这篇关于iOS中的NSURLErrorDomain错误代码-999的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!