Create a simple application to take bookings from your Facebook page
By Scott Thomas
This post describes a Facebook app that uses FBML, which is no longer permitted for new apps on Facebook. The updated post, using static iframes, is located here (posting June 5, 2012).
Some innkeepers frequently question the value of social media, especially Facebook and Twitter, as being too time-consuming, all entertainment, annoying, or simply not producing any return on the time invested. We recently came across an idea from a large hotel chain that many bed and breakfasts can put to work immediately.
A hotel marketing newsletter mentioned recently that a large chain had added booking capability to its Facebook fan page. That triggered a memory that we had seen articles on customizing your Facebook fan page, but had never really pursued it, as the changes we were thinking about would have taken more time than we were willing to devote to the effort. Digging up the article, we put together the idea, and with a bit of cut-and-paste, had a working booking and availability app on our Facebook fan page in under 30 minutes. If your online booking source allows you to integrate the availability form into web pages, you can have on on your Facebook fan page, too. We’ll show you the step-by-step process, no programming needed!
The ‘How To’ Section
First of all, this will work with any online booking system that allows you to embed a form into a web page for checking availability and booking. Webervations is an example of one that does allow this, and we will use it as the example, since that’s what we used to create ours. If you’re not sure if you online booking service allows that, check their website (the internal site, where you go after logging in) or contact their support. In the case of Webervations (we’re not promoting Webervations, or anyone else, but since they do allow you to embed the form in web pages, it works for this purpose), the have a page with the exact code to cut and paste, located at Configuration -> Web Page Setup, then click on the link that says “To add a search form to webpages…”.
A word of caution – you can only add this type of custom application to Facebook fan pages (i.e., business pages). If you created a personal page for your business (you do know that violates Facebook’s Terms of Service, don’t you?), you will not be able to do this.
Now to create the custom app for your Facebook page…
On your Facebook fan page, click the Edit Page link, just below your large profile picture.
Under Applications, scroll down to More Applications, then click the Browse More link. In the Search Apps box, type “FBML” (without the quotes). Click Static FBML. On the next page click Add to My Page.
Go back to your fan page, and again click Edit Page.
Find the Static FBML application and click Edit.
Enter the name you want to appear in the Box Title field (we used “Book Your Visit” but you can call it anything you like).
Copy the code from your online booking form and paste it into the large FBML field. Just a suggestion: if the code from your online booking provider starts with “<form” you will probably want to add “” before it starts and “” (all without the quotes) at the very end.
If you want the new custom app to appear in the left sidebar (the narrow left column) on your page, set the width to 180 pixels. To do that, where you have the “” at the beginning of the FBML field, change it to read ‘’. In this example, the single quotes before are not typed, the double quotes are mandatory.
When you have finished editing the FBML field, click Save Changes.
On your main Facebook fan page, click Edit Page (again!).
Find the new application – it will be called whatever you entered into the Box Title field plus FBML (ours is “Book Your Visit – FBML”). Click Application Settings.
Make sure “Box” is “Added” and “Tab” is “Added”, then click Okay.
On the Wall tab of your Facebook fan page, click on the Boxes tab. To add the new application to the left column of your page, find the new FBML box entry, and click the little pencil icon in the upper right corner. Then select “Move to Wall Tab”.
When you view your page now, you should see the new application in the left column. If you like, you can drag it to a new position, higher or lower than other items in that column (except for the items that Facebook won’t let you move).
Congratulations! Now Facebook can start helping you with your bookings!