Questions tagged [fql.multiquery]

Multi-query: request a series of FQL (Facebook Query Language) queries in one call and returns the data at one time

This method takes a JSON-encoded dictionary called ''queries'' where the individual queries use the exact same syntax as a simple query. However, this method allows for more complex queries to be made. You can fetch data from one query and use it in another query within the same call.

132 questions
3
votes
1 answer

FQL in the SDK 3.0 Beta for iOS

I cannot find the requestWithMethodName method anywhere in the new 3.0 Beta SDK for iOS. Did you guys drop it and if so, how are we supposed to send fql queries to the API now? Or were those deprecated?
Sebastian
  • 2,889
  • 4
  • 34
  • 37
2
votes
1 answer

Javascript FQL: filtering by "created_time", after a few calls (mostly 1), no results are returned

I am running the following FQL query, using the javascript api: FB.api({ method: 'fql.multiquery', queries: { 'query1': 'SELECT source_id, actor_id, target_id, message, attachment, permalink, description, type, created_time FROM…
2
votes
2 answers

FQL multiquery with HTTP GET - works in Graph API explorer but not anywhere else?

This FQL multiquery, for example: https://graph.facebook.com/fql?q={"posts":"SELECT actor_id,message,permalink,created_time,comments.count FROM stream WHERE source_id=me()","actors":"SELECT uid,name,pic_square,profile_url FROM user WHERE uid IN…
Yuval A.
  • 5,849
  • 11
  • 51
  • 63
2
votes
2 answers

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…
Andrew Leafe
  • 177
  • 9
2
votes
3 answers

Username is not a member of the user table facebook api

For last few years I was using FQL of Facebook in which i gathered data about last comments by fans on one of my pages. To do that I was forced to use 2 tables joins. I could do that with fql.multiquery help. Small code of this: $query1 = "SELECT…
Roman Losev
  • 1,911
  • 19
  • 26
2
votes
1 answer

FQL for Getting How a user connected to logged in user like in linked in

How can I write FQL query for getting information on How a specific user is connected to logged in user (X degree of connection) similar to linked in as shown in the image From image the tooltip (Nuno.B is a 3rd degree connection) Given an user ID…
Yatheesha
  • 10,412
  • 5
  • 42
  • 45
2
votes
1 answer

Facebook Inbox with Fql

I need to show the other participant's name and image in a TableView just like Facebook Inbox. I am using this fql query to get the recipients. - (void)readInbox { NSString *query = [NSString stringWithFormat:@"SELECT recipients,thread_id…
iYousafzai
  • 1,021
  • 1
  • 10
  • 29
2
votes
0 answers

fql multiquery giving bad request error, failed to open stream

$fql_multiquery_url = 'https://graph.facebook.com/' .…
user2368055
  • 410
  • 6
  • 14
2
votes
1 answer

FQL Multiquery always fails (querys work as single query)

I'm trying to fetch the users news stream and get the names of the profiles from the actor ids of the news stream posts. This is the query I use NSString *fqlString = @"{" @"'query0':'SELECT post_id, actor_id, message, created_time FROM stream WHERE…
arnoapp
  • 2,416
  • 4
  • 38
  • 70
2
votes
0 answers

Is there a more efficient way of getting facebook albums with their cover photo by using C#, Facebook .NET SDK and fql?

I want all albums from facebook and get the src property of the cover photo. This is where it became tricky. I wrote the following code to do this, but i'm wondering if this can't be done in a more efficient way? var facebookClient = new…
2
votes
1 answer

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"…
Daniel Schaffer
  • 56,753
  • 31
  • 116
  • 165
2
votes
0 answers

FQL multiquery with event CREATOR does not work anymore

I got several iOS apps that make an FQL multiquery to get infos about events by a certain creator. query1: "SELECT eid, uid FROM event_member WHERE uid = %@" query2: "SELECT eid, name, venue, location, start_time, creator FROM event WHERE eid…
Etienne678
  • 444
  • 4
  • 12
2
votes
1 answer

Get Facebook page's stream from a Global Page

I have a little problem with the Facebook api. I am doing a very simple FQL request to get a Page's stream like this one : SELECT post_id, type, likes, comments FROM stream WHERE source_id = X It works just well. But, when I do the same request on…
2
votes
1 answer

echoing array from fql.multiquery

PHP / FACEBOOK'S FQL Thank you for even reading this. I'm having some serious inception issues, dream within a dream style. I'm doing a multiquery to get the last 3 places a friend visited. I need to show [timestamp] from the location_post table and…
Petter
  • 49
  • 2
2
votes
2 answers

FQL: query for event table returns venue.name instead of venue.id

When making a query to get event details I seem to get venue.name instead of venue.id in the result set. Has there been an unannounced change in the table structure or am I doing something wrong. The Graph API Explorer gives the venue.id yet when…
1
2
3
8 9