Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

facebook post to wall dialog is empty

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?

empty dialog

like image 281
Fede Mika Avatar asked Jun 29 '11 14:06

Fede Mika


People also ask

Why is my Facebook post not showing on my timeline?

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 ...

Why can't I see posts on my Facebook page?

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.

Why are there no more posts to show on Facebook?

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.


2 Answers

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

like image 105
tiltem Avatar answered Sep 28 '22 00:09

tiltem


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 ;)

like image 45
Raphael Avatar answered Sep 27 '22 22:09

Raphael