Just a note, the Wiki is being deprecated. All the information that we should look are under the developers.facebook.com/docs.
Playing with the API’s, I have created a custom AJAX call using JQuery and JSONP. the JSONP allows a cross-domain request from Jquery AJAX and with that I was able to correctly execute a query using FQL.
The query is a parameter given to a url (http://api.facebook.com/method/fql.query?query=QUERY.) and it will return in either XML or JSON format.
Anyway using the query is pretty simple and if you want to give a test run of the results format before doing anything the best place is:
There is one annoying bug that I could go through with the new SDK, the SDK wont bootstrap giving an error at line 3. I think is related to cookies and the old API. I will still give a search on that and when I find the solution, I will place it here as an update.