I am using the facebook api for ios and i am using facebook dialogs to post.
The basic idea is that i have a button to post that calls a method and ask if you are logged in to post right away or to perform the log in and then post. When the second scenario occurs i can't post right after log in to facebook so i have to tap the button and call the method again so i can post.
The error that facebook sends me says: The operation couldn’t be completed. (NSURLErrorDomain error -999.)
I have read here in stack about it and it says:
According to "Foundation Constants Reference", error code -999 means "NSURLErrorCancelled".
Description:
Returned when an asynchronous load is canceled. A Web Kit framework delegate will receive this error when it performs a cancel operation on a loading resource. Note that an NSURLConnection or NSURLDownload delegate will not receive this error if the download is canceled. Available in iOS 2.0 and later. Declared in NSURLError.h.
The question is why facebook is sending me this and how can i solve it?
If more code is necessary i can put it.
Thanks in advance.