Facebook Cookbook - Jay Goldman [32]
Suggested Hello World value: Again, we’re not supporting Pages and we don’t really care who uninstalls Hello World, so leave this blank.
Post-Authorize URL
This is similar to the Post-Remove URL, but it’s for users revoking authorization for your app to access their Profile rather than for users removing it from a Facebook Page.
Suggested Hello World value: Ditto here; we don’t really care who uninstalls Hello World, so leave this blank.
Default FBML and Action FBML
The Profile Box and Profile Action links are two of the Platform integration points you’ll be all over. Since the user has just added your app, you won’t have anything to insert yet, so the two default boxes let you specify the FBML that should be used until you first make a call to Profile.setFBML() (see Getting and Setting Profile FBML). Leaving these blank will effectively make your app invisible on the user’s Profile page until then, so think about sticking a “coming soon” message in there in the meantime. Your ultimate Bowling Score app might, for example, pop in a box containing “Scores coming soon!” and a link into your app for all of the user’s bowling fanatic friends to follow.
Suggested Hello World value:
Default Profile Box Column
Users will have the option of dragging your Profile Box into either the wide or narrow column of the Boxes tab in their Profiles after it appears, and this gives you control over where it starts off. You can do completely different layouts depending on which width they choose, so pick the one you think is strongest as the default, but have a kick-ass backup in case they prefer the other size.
Suggested Hello World value: It doesn’t make much difference, but since most apps go with wide, you might as well go narrow and appear higher up the page by default.
Developer Mode
The all-important Developer Mode switch lets you limit access to and the adding of your app to the people you’ve listed as Developers. Everyone else will get a 404 Page Not Found error when they try to hit any of the app’s URLs, even if they had previously added the app.
Suggested Hello World value: On. This app isn’t going to do much, so it’s not really worth sharing with the wider world. If you’d like to show it to your friends, just add them as developers.
Integration Points
Like the Installation Options, this section will be available only if you set your app to be addable to Facebook Profiles.
Side Nav URL
This option used to provide the URL you wanted users taken to when they clicked on your app in their Side Nav (the sidebar on the left edge of the Profile, which doesn’t exist anymore). Although this hasn’t been renamed yet, it’s now the URL you want users taken to when they select your app in the Applications menu in the blue header bar at the top of the Facebook window. Note that this has to be a Facebook Canvas page and can’t be an external URL.
Suggested Hello World value: http://apps.facebook.com/jays-fantastic-demo/
Privacy and Help URLs
Both of these are links to static content within your app and can point to Canvas pages within Facebook or to external pages elsewhere (though the former is better than the latter).
Suggested Hello World value: We don’t much care about private hellos or helping people, so leave ’em blank.
Private Installation
If you’re building one of those rare apps that won’t leverage the social graph to spread among users, you can turn on this option to disable News and Mini-Feed installation stories. This could be handy if your app is in a field such as health or finances, but you’re generally going to want to leave this option off.
Suggested Hello World value: Leave it off.
Attachments