News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Rafael Dohms' Blog:
Using theFacebook PHP-SDK to run FQL
January 12, 2011 @ 13:19:21

Rafael Dohms has a new post to his blog today looking at using the Facebook PHP-SDK to run FQL queries on the data for your applications.

The new SDKs have not, as you can say, fallen far from the tree. While they are really great new and shiny, documentation on how to use them is still vague, missing or spread out in the internet in blogs like these, in posts from us users trying to share the information with other soon-to-be-suffering developers. So this is an example of this, i have been using these new resources and the new PHP-SDK and have ran into various walls, so I decided to start putting some of this on my blog, for 2 reasons: to spread the word, and to have notes for myself when I come back to this.

The post gives an example of using the "api" method provided by the PHP SDK from Facebook to push an array of parameters, one being the query, to the remote API for parsing. He includes the code for a simple (namespaced) helper to take in the query and return the API's return data set.

0 comments voice your opinion now!
facebook sdk fql api interface query sql


blog comments powered by Disqus

Similar Posts

Padraic Brady's Blog: The PHPSpec 0.2.0devel API

Community News: Serendipity 1.1.3 and 1.2-beta2 released due to SQL exploit

Sameer Borate's Blog: Amazon Advertising API BrowseNodes

RIAZone: Integrating PHP with Flash Collaboration Services

ThinkPHP Blog: Mayflower Barcamp: Developing a PHP extension for Skype


Community Events











Don't see your event here?
Let us know!


introduction facebook hhvm package security framework language symfony2 podcast performance composer component hack unittest opinion install release overview database application

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework