Ok, I figured out some things, but I don't know if this helps anyone.
There is a delegate method in FBDialog.m.
- (BOOL) webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType
This method is called when the webview is loaded inside the facebook view. If I load the contents of the request URL like this ...
NSString *source = [NSString stringWithContentsOfURL:request.URL];
... write down the source variable, copy the contents inside the html document and upload it using the Firefox or Safari browser on my mac and it will display a dialog. This means that there is a dialogue, but web browsing cannot show it or anything like that.
The second thing I found out, if you look further in the method, you will see that there is a condition:
if ([url.scheme isEqualToString:@"fbconnect"])
If I write url.scheme, it will give me "https", which I think is wrong. I wonder if this should be "fbconnect" ?! If this is a problem, I think we cannot solve the problem on our own, as this is what Facebook needs to fix.
I hope this information is at least a little useful to you, and I hope this error is fixed soon!
Cheers, Raphael;)
Raphael
source share