How to Test FBML on Sandbox
Facebook Markup Language is a set of API references and tools that allows you to create applications and page templates that integrate with core Facebook features. These applications can add bulletin board functionality, tabs and the ability to read and write data on your Facebook account from a third-party website. You can use Facebook's test consoles as a sandbox (a test environment not linked to any real accounts) to test FBML functionality.
Instructions
-
JavaScript Test Console
-
1
Launch your web browser and navigate to the JavaScript test console.
-
2
Copy and paste your JavaScript FBML code into the console window.
-
-
3
Click the "Run" button to run the code. Hover over the gray area to the right of the console window and click "Clear" to clear all of the functions and events created by your script.
-
4
Click the "Examples" link at the bottom of the console to open a page of examples that use JavaScript and FBML. Click to select an example to open it in the JavaScript test console.
-
5
Click the "Disconnect" button to disconnect the current from the Console. Click "Logout" if you are testing Facebook connect login functionality in your script.
-
6
Click the "Save" button to save the inputted script code.
Test Individual FBML Tags
-
7
Launch your web browser and navigate to the Facebook Markup Language web page.
-
8
Click to select an FBML tag.
-
9
Scroll down to the "Test console" section of the web page.
-
10
Click to select an existing application from the "App" drop-down menu. Type your FBML application parameters in the displayed text fields.
-
11
Click "Call method" to run the test code.
-
1