For some reason, my general dialogue with Facebook never works the first time - a dialog opens and then disappears, and I get the following error:
Error Domain=NSURLErrorDomain Code=-999 "The operation couldn't be completed. (NSURLErrorDomain error -999.)"
A URL that does not match this error is the standard dialog URL, and if I paste it into my web browser, it displays a sharing dialog. I'm not doing anything special, just calling:
[_facebook dialog:@"feed" andParams:params andDelegate:self];
When I call this method again, it works fine.
Anyone else come across this? This is on iOS 5 and I am using the latest version of the SDK.
source share