Proof of Concept: Using Facebook as Identity on a Blog

Please accept my apologies for the third successive post about Facebook!

I wanted to show off a proof of concept I’ve developed of using Facebook as an identity system for your blog. The proof of concept doesn’t run on a real blog system – that is simply to keep it simple and because I didn’t want to spend a lot of time with the ins and outs of WordPress. I can see no reason why it couldn’t be adapted to integrate with WordPress/Drupal or whatever.

How does it work?

  • You’re on the blog page and you wish to make a comment.
  • You click on a link which takes you to the Facebook webpage.
  • If you haven’t before used your Facebook identity on this application before, you’ll be asked to give permission for it to access your personal information.
  • You are returned to the blog page, now logged in with your facebook identity.

Total development time was about 1 hour, took about 50 lines of code. If anybody is interested, I can open source the PHP source code.

As far as I can see, it follows the platform terms of use. The only information which my proof of concept has access to is your name and the URL of your Facebook avatar. This information is not stored except with your expressed consent (e.g. you post a comment).

Pop over to the proof of concept and feel free to login or to post a comment to try it out.

One thought on “Proof of Concept: Using Facebook as Identity on a Blog

Leave a Reply

Your email address will not be published. Required fields are marked *