Creating a Facebook Site with Google Apps

This holiday season saw a landmark event. High profile companies, like Mattel, posting a Facebook site URL in prime-time advertising. As it turns out, you don’t need to be a big name company to have your own Facebook site. Anyone can do it, it’s free, and it’s simple as pie.

The reason it’s free and easy is that Facebook doesn’t actually host the site. Facebook provides a namepace and an iframe that points to a site you control. The pages are loaded from your server, wrapped in a Facebook pane.

There is a Facebook JavaScript API that you can use from any site. With the API, you can like pages, authenticate against Facebook, write to your wall, and such. But with a Facebook site, you can do anything that your own website can do.

If you don’t already have a website of your own, you can create a static site using published Google Docs. Just create a document, and share it with the world, and you can wrap a Facebook site around it.

Here’s how to get started.

  1. If you don’t have a Google Docs account, you can sign up at http://docs.google.com/demo/ and create a page to share.

    • Select Share and change the visibility to public
    • Then Share and Publish to the Web
  2. Login to Facebook. (As if you ever logout!)

  3. Register an App Name with Facebook. (It’s free!)

    • Your Facebook account name might be a good one for starters.
  4. Under Facebook Integration, enter your App Name as the as the Canvas Page, and your public, published Google Doc page as the Canvas URL. . Under IFrame Size, select Auto-Resize.

  5. Open apps.facebook.com/{Your-Canvas-URL}
  6. Voila!

You can also use a Google Site as a Facebook Canvas. Just keep the site layout within a 870px width or a 740px page with a 130px sidebar. (Though, to appease the API, you might have to add an extra “?” at the end of the URL. )

Google Docs and Google Sites are a great way to maintain a static site within Facebook. For some ideas about what you can do with a full web server, visit the World Wildlife Fund Gift Center and the Facebook Platform Showcase. Common Knowlege also has a great webinar on Facebook Sites and Pages.

Facebook integration is a great example of how difficult problems can be solved with simple interfaces. Fire up your Facebook account, and give it a try!