Made of Everything You're Not

Personal blog of PHP programmer Eric Lamb.
  • Blog
  • Portfolio
« Virtualization Actually Works!
Simple Twitter Search with PHP »

Why I Hate Facebook Connect

In the Facebook Connect Primer I barely scratched the surface about the Facebook Connect service; I fully expected to research more and write about it. I had it all worked out in my head; in this post I wanted to outline how I was able to use the service and outline deeper features and functionality.

I Hate Facebook

Unfortunately, this just wasn't possible because, well, all the documentation I could find on Facebook Connect was terribly outdated and inaccurate. So, instead, I'm going to talk about how painful it was trying to work with the system. Enjoy smile

I needed to find out as much as possible about the Facebook Connect service so the first thing I thought to do was the Facebook demo site, "The Run Around".

I first downloaded the file and extract and setup a development site on my development web server. I work on my Vista machine so it was pretty straightforward.

This was a mistake though. It turns out that development of Facebook Application projects requires an open connection to the Internet. It can not be behind a password screen.

FUCK! You have to work live on the Internet when developing; amateurs...

Anyway, after setting up the project on my computer the first thing I got was a screen full of undefined variable notices from php; the developers didn't take the time to kill notices in the code or throw a call to:

error_reporting(0);

sigh.... have to fix...

Either, open up init.php and add the above code below the first <?php, or do like I did and fix all the errors yourself.

The php notices aside, the first time it's opened in a browser an error screen shows up saying to follow the instructions in lib/config.php.sample

Initial Error

You have to register for a developer account if you don't already have one, like I did, and then create an application. This means, to me anyway, that Facebook Connect sites have to abide by the same Terms of Use as Facebook Applications.

Create a Facebook Application and go to the Connect tab. From here you can setup the callback URLs, upload a new image for the Connect confirmation screen and enter a base domain (this helps for cross domain access).

Of particular interest are these lines from the Terms of Service:

You can only cache user information for up to 24 hours to assist with performance. The only exceptions are those listed in the Facebook Platform Documentation.

However, you must get signoff from us before releasing any formal press releases.

After reading the above, combined with the above frustrations, I decided to walk away from Facebook Connect entirely. This was a HORRIBLE research experience.

That was until recently when I found out about an upcoming project that requires integration with the service. Oh, well. At least I already have some research out of the way...

Good Reading:
Facebook Platform Application Guidelines
Platform Policy
Facebook Privacy Policy
Facebook Site Terms of Use
Facebook Platform Developer Copyright Information (if your application permits file-sharing)
Facebook Platform Documentation

How to Build a Facebook Application
Facebook Application Tools
Getting Started With Facebook Connect
FBConnect - 5 reasons why we dumped it
API Functions

Related Posts

Facebook Connect Primer

Tags: Facebook facebook connect

This entry was written by Eric Lamb and posted on May 13th, 2009 at 6:00 am and is filed under Programming. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response below.

0 Comments

Leave a Reply

Click here to cancel reply.

  • Subscribe: Entries | Comments
  • About Me

    Email Email
    Twitter Twitter
    310.739.3322
  • Categories

    • Brain Dump
    • Business
    • Code
    • IT
    • Programming
    • Rant
    • Servers
  • Archives

    • February 2012
    • October 2011
    • August 2011
    • July 2011
    • June 2011
    • May 2011
    • April 2011
    • March 2011
    • February 2011
    • January 2011
    • December 2010
    • November 2010
    • October 2010
    • September 2010
    • August 2010
    • July 2010
    • June 2010
    • May 2010
    • April 2010
    • March 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
  • Advertisement

Copyright © 2008 - 2013 Eric Lamb - All rights reserved