Joey Rivera's Blog: Facebook Graph API App Easy w/ PHP SDK
Note: This article was originally published at PHPDeveloper on 9 December 2010.
As promised, here is a post (similar to my Twitter API post) on using the Facebook API. There are many reason why one would want to access the Facebook API '" maybe to create a mobile app that lets you post photos to your Facebook albums, or maybe you just want to show your last few Facebook status updates on your blog; what ever the reason may be, Facebooks Graph API mixed in with their PHP SDK makes it really easy to accomplish this.
He shows you how to set up the environment and use the SDK to authenticate to the service and retrieve the latest status information for a User object, add a new status, view photos from an album and pushing a new photo to the album.