It’s Official: Public Canvas Pages
December 5, 2007
Facebook officially announced the availability of public canvas pages that was previously speculated.
The change allows non-users (i.e.: search engines and visitors without Facebook accounts) to access application canvas pages. However, the change requires various modifications to applications that currently require users to be logged in. As specified in the new Public Canvas Pages wiki article, developers can modify their application code to replace the standard API call to require_login() with a call to get_loggedin_user().
Facebook has put some effort into making the change easy on users by implementing various changes to how FBML is rendered within Facebook. First, fb:if-* tags will automatically render the fb:else tag for logged out users. Second, friend selectors will display as an application registration link. The fb:name tag will render the user’s first name only, and fb:profile-pic will display if the user’s privacy settings are set to allow public access. Finally, a new fb:if-logged-out tag has been created in order to specify how the page should be rendered.
Comments
Got something to say?



