Reputation: 1364
I posted this on regular SO before I found the Facebook-specific one, so hopefully it will get some more love here.
I have an iOS app that is successfully posting to Facebook via the FBConnect SDK. I have registered the app in Facebook as a native iPhone app and filled out the required data (bundle ID, app store id, etc), however I am running into one small, but very annoying issue.
When the app posts to the user's feed, the message has a "via App Name" link that presumably goes to the app store, or somewhere sensible. This link never work, it always goes to a page stating "Page not found", with no helpful information.
The link is of the form: http://www.facebook.com/apps/application.php?id=${app.id}
I have verified that the ID that it is putting in there is in fact my app ID. Can anyone shed some light on what might be causing this and some possible fixes?
Upvotes: 4
Views: 1799
Reputation: 21571
It's in Settings/Basic put your URL in the Website and Mobile Web section.
I a normal browser it will use the "Website" url on a mobile platform (iOS, Android, etc) it should use "Mobile Web" url.
Upvotes: 1
Reputation: 31880
You are missing the website config setting for your application. See this for an example:
http://www.facebook.com/apps/application.php?id=204143816348127
Notice facebook displays a message about redirecting the user to a landing page. You need to define a landing page in your app settings for it to use. Otherwise it can't go there.
Upvotes: 0