News 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

Chris Shiflett\'s Blog: The addslashes() Versus mysql_real_escape_string() Debate

Emran Hasan's Blog: Quick start on new Facebook PHP SDK (IFrame based)

Joshua Eichorn's Blog: Webthumb API additions

Sameer Borate: Integrating Googles new reCAPTCHA in PHP

Nick Halstead's Blog: Simple use of DIGG API for your blog


Community Events





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


podcast voicesoftheelephpant symfony opinion version composer series language tool list introduction laravel artisanfiles interview security framework conference release library community

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