ShareKit/ShareKit — Issue #215: Facebook always shows "Saved", even on failure
Author: jkustan
Created: 2012-02-03 01:34:45+00:00
State: open

ShareKit has been a breeze overall, great software. We hit one kink though -- regardless of whether someone clicks "OK" or "Cancel" on the popup, it always gives the positive confirmation.

Tracking through the code, in FBDialog.m it hits

- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType

twice, once with url = https://m.facebook.com/dialog/feed?refid=0 and once with url=fbconnect://success.

Clearly the second is the problem, and from there on in nothing we can do will distinguish this as a cancelled event. Anyone know what's going on here or how to fix it?

Many thanks,

Jack