Tag Archives: JavaScript SDK

Debug version of the Facebook JavaScript SDK now available

I think most of the facebook applications are using the JavaScript SDK.  Even though the stability of the JavaScript SDK has been improved a lot already, there may be cases where developers would like to check and know what is … Continue reading

Posted in Development Tips, news | Tagged | Leave a comment

Better Dialogs for Canvas and Page Tab Apps on Facebook

In the latest Facebook Developer’s blog, Facebook announces that Platform dialogs are all built to run in a variety of display contexts on both the desktop and mobile web. As part of our continued efforts to make these dialogs work … Continue reading

Posted in Development Tips, news | Tagged | Leave a comment

Changes to the Javascript SDK

As announced in https://developers.facebook.com/blog/post/2012/05/16/platform-updates–operation-developer-love/, Facebook has now removed access to all non-function properties and all function properties prefixed with `_` from the global FB object. If you experience issues, please verify that you are not relying on anything not documented … Continue reading

Posted in news | Tagged | Leave a comment

Undocumented Feature in Facebook AppRequest Dialog

I just notice that there is a undocumented property “new_style_message” for the App Request Dialog in JavaScript SDK’s FB.ui. If you invoke the appRequest dialog by using the following code: FB.ui({method: ‘apprequests’, title: ‘I want to join the game’, message: … Continue reading

Posted in Development Tips | Tagged | Leave a comment

Facebook JavaScript SDK – FB.XFBML.parse should be renamed as FB.markup.parse

According to Facebook documentation, FB.XFBML.parse is described as This function parses and renders XFBML markup in a document on the fly. This could be used if you send XFBML from your server via ajax and want to render it client … Continue reading

Posted in Development Tips | Tagged , | Leave a comment

Scrolling to the Top of your Facebook App Canvas

For standard web page, you can use anchor point for jump to a particular section of your page.  However, this won’t work for Canvas app (at least for some browsers) as your page is wrapped within an iframe when it … Continue reading

Posted in Development Tips | Tagged | Leave a comment

The Perfect Solution to Resize your Facebook App Canvas

Today, Facebook announces that they are renaming the setAutoResize in the JavaScript SDK to setAutoGrow. It is true that from time to time, people are reporting that autoresize does not work for their canvas apps.  It is in fact good … Continue reading

Posted in Development Tips, news | Tagged , | Leave a comment

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 … Continue reading

Posted in Development Tips, news | Tagged | Leave a comment