Facebook now supports Inline Processing for Canvas Apps via FB.Canvas.SetUrlHandler in JavaScript SDK

In the past, when user clicked on any story or bookmark on the Facebook Page, they will be simply redirected to the related URL of the Facebook app.

A new method “FB.Canvas.SetUrlHandler” is recently added to the JavaScript SDK.  It allows the app to optionally register a callback so that when user clicks on click on any link to the current app (including All ticker stories, Bookmarks, Requests from the bookmarks drop-down list and Request Notifications stories), the app can show it in-line without the unnecessary redirect.

This is a nice feature especially for online games!

For more information, please refer to Facebook documentation at http://developers.facebook.com/docs/reference/javascript/FB.Canvas.setUrlHandler/

This entry was posted in Development Tips, news and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *