fql.multiquery

Help with fql.multiQuery

I'm playing around with the Facebook API's fql.multiQuery method. I'm just using the API Test Console, and trying to get a successful response but can't seem to figure out exactly what it wants. Here's the text I'm entering into the "queries" field: {"tags" : "select subject from photo_tag where subject != 601599551 and pid in ( selec...

Combine 2 fields returned in FQL for a 3rd query

I want to combine the results of status_id returned from status table http://wiki.developers.facebook.com/index.php/Status%5F%28FQL%29 and comments from stream http://wiki.developers.facebook.com/index.php/stream%5F%28FQL) to retrieve comments for a user (in a single multiqery maybe) Something along the lines of: query1:Select status_i...

FQL multi query optimisation

Hi, I'm trying to get my head around whether it would be possible to do something with an FQL multi-query rather than multiple API calls. Here is my code: var queries : Object = { "user_list":"SELECT uid2 FROM friend WHERE uid1 = "+uid ,"event_id":"SELECT eid, start_time, end_time, location, pic, name FROM event WHERE eid IN (SELE...

Facebook FQL - How do I fetch the posts I made to a friend's wall

I have a facebook desktop app with some test users all having granted the stream_read & offline access permissions. I can easily retrieve posts to each users' stream & profile. What I cannot do easily is retrieve posts that a user has made to one of their friend's walls. In fact, this used to work with a rather complex multiquery, but h...

Facebook .net return internal server error when using Multiquery

Hello I am having trouble using multiquery in facebook .net. I am trying to create 3 queries: Friends, Like and Photo using multiquery in the toolkit. It returns me with this The remote server returned an error: (500) Internal Server Error. Although, it is not happened all the time but it does occur frequently... I thought about what ca...

fql.multiquery new sdk

I cannot figure out what is wrong with this fql.multiquery and cannot seem to find any examples of the new sdk with fql.multiquery. Ultimately I want to get the page name and page id(s) of the visiting user pages which they both administrator and are fans of. $queries = '{ "page_admin_ids" : "SELECT page_id FROM page_admin WHERE ...

Retrieving posts and comments from a Facebook page

I want to retrieve all of the posts from a given facebook page along with the associated comments. I wrote this code (app details obfuscated, replace with your own in order to run it). <?php require_once('facebook.php'); $facebook = new Facebook(array( 'appId' => 'MY_APP_ID', 'secret' => 'MY_APP_SECRET', 'cookie' => true, ...