I'm having a weird problem with fb sdk for iphone. It was working all fine till yesterday. I started getting an empty fb dialog when trying to post to wall. If I click Publish, it publishes fine, but the preview is not visible! Tried uninstalling the app, also reauthorizing in fb and nothing... Any idea?
If your Facebook feed doesn't appear to be showing the most recent posts, or if some posts which are shared to your Facebook page are missing, then the most likely explanation is that those posts in your feed may be shared from a user's personal Facebook profile or a Facebook page which has an age or location ...
An easy way to determine whether your page is set to public is to make sure you're signed out of your Facebook account and then try to visit your page. If Facebook forces you to sign in to view your page then it has a restriction on it.
You are likely to face 'There are no more posts to show right now' error if you are keeping your Facebook account logged in for a long time irrespective of using the Facebook app or on the browser. This happens as your Facebook data is getting stored in the app cache, which causes this error.
Having same issue: please add your votes and comments to http://bugs.developers.facebook.net/show_bug.cgi?id=18760
this will help speed up the process
Ok, I have figured some things out but I don't know if that helps anybody.
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 inside the facebook view is loaded. If I load the content of the url of the request like that...
NSString *source = [NSString stringWithContentsOfURL:request.URL];
... log the source variable, copy the content inside a html document and load it with my Firefox or Safari Browser on my mac it shows up a dialog. That means, that the there is a dialog but the webview can't show it or something like that.
The second thing I figured out, if you look further down in the method you see that there is a condition:
if ([url.scheme isEqualToString:@"fbconnect"])
if I log url.scheme it gives me "https" which I guess is wrong. I wonder if that shouldn't be "fbconnect" ?! If that should be the problem I guess we can't fix the problem ourselves, since that is something Facebook need to fix.
I hope this information is at least a bit useful for you guys and I hope this bug is getting fixed soon!
Cheers, Raphael ;)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With