Integrating CakePHP with Facebook Graph API

2

Category : Facebook, Open source, PHP, Wordpress

I just move my site (Cats Idol) from Drupal to CakePHP. It has definitely been a good move – in two weeks, working at night, I have gain a lot of control and flexibility I needed and did not have in Drupal.

CakePHP is an easy to use and agile development framework that provide an MVC,  a great ORM, and other useful tools for rapid application development.

But more on that in a different post..

Another major feature I needed was integration with Facebook:

  1. I wanted to use Facebook Auth and provisioning rather than t write it myself
  2. I wanted users to be able to comment and Like content on the site
  3. I wanted to publish content on users wall when they add content to Cats IdolCakePHP : the rapid development php framework

I found a very useful plugin, developed by Nick Baker, which provides this functionality and more.

So check the plugin here.

And you can see a demonstration of it in action here.

And CakePHP app integrated into Facebook here.

Thanks Nick, Great Job!