Integrating CakePHP with Facebook Graph API

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!

Share the love...Tweet about this on TwitterShare on LinkedInShare on Google+Share on Facebook

Amir Shevat

Amir Shevat is the global Startup Outreach lead in Google Developer Relations (g.co/launch). Previously, Amir Led Google Campus Tel Aviv and was the co founder of several startups.

You may also like...

2 Responses

  1. Kyle says:

    Hi Amir,
    This is a cool plugin, but I’m having trouble understanding how to use the API through the plugin. Say I want to view my friends list on my homepage. How and where do I initialize and use this through the API?
    Thanks

    • Amir Shevat says:

      @kyle – Yes, this is a cool plugin. The Guy supporting this is Nick and he is responsive. I think he even answered similar question a little while ago…

Leave a Reply

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