A new tutorial on using Facebook’s PHP SDK

December 6, 2010

News

Over on his blog, Joey Rivera recently posted a tutorial on how to interact with Facebook’s Graph API and PHP SDK.

In the tutorial, Joey takes the time to walk you through the entire process, soup to nuts. Not having worked with Facebook’s PHP SDK, I knew nothing when I started reading the tutorial. I was very impressed with the completeness of it. Here’s a quick taste from the section titled “Graph API”.

This was confusing to me at first, specially since I keep rushing my project instead of taking my time to carefully look and read over the documents to truly understand what’s going on. Here is the Facebook Graph API overview if you would like to read that first but I’ll try to summarize it here. Graph API allows you to call various resources all of which will be returned to you as JSON objects. You’ll have to spend some time at the Graph API References page to understand the different objects available, parameters they have, and what the required extended permissions are to access them.

The writing style is very easy to read and Joey spends the time to explain the WHY and not just the HOW, although there’s plenty of the HOW as well. If you have been interested in working with Facebook in you PHP apps but not yet taken the plunge, this tutorial is well worth the read. Make sure you block off enough time to actually follow along with the tutorial and build the sample app, don’t just skim this one, shove it into del.icio.us and forget about it.

About Cal Evans

Many moons ago, at the tender age of 14, Cal touched his first computer. (We're using the term "computer" loosely here, it was a TRS-80 Model 1) Since then his life has never been the same. He graduated from TRS-80s to Commodores and eventually to IBM PC's. For the past 10 years Cal has worked with PHP and MySQL on Linux OSX, and when necessary, Windows. He has built on a variety of projects ranging in size from simple web pages to multi-million dollar web applications. When not banging his head on his monitor, attempting a blood sacrifice to get a particular piece of code working, he enjoys building and managing development teams using his widely imitated but never patented management style of "management by wandering around". Cal is currently based in Nashville, TN and is gainfully unemployed as the Chief Marketing Officer of Blue Parabola, LLC. Cal is happily married to wife 1.28, the lovely and talented Kathy. Together they have 2 kids who were both bright enough not to pursue a career in IT. Cal blogs at http://blog.calevans.com and is the founder and host of Day Camp 4 Developers

View all posts by Cal Evans

One Response to “A new tutorial on using Facebook’s PHP SDK”

  1. simpletutors Says:

    Here is another facebook friendlist application using facebook-php-sdk-v2.1.2-4. I hope it may help you Evans to understand.
    http://simpletutors.com/develop-a-facebook-application-with-facebook-php-sdk-v2-1-2-4/