Questions tagged [facebook-fql]

Facebook Query Language (FQL) enables you to use a SQL-style interface to query the data exposed by the Graph API. It provides for some advanced features not available in the Graph API such as using the results of one query in another.

Facebook Query Language (FQL) is now deprecated and the service is completely disabled and unusable.

FQL enabled you to use a SQL-style interface to query the data exposed by the Graph API. It provided for some advanced features not available in the Graph API such as using the results of one query in another.

3041 questions
1
vote
1 answer

Fetching all uploaded, tagged in and share videos in Facebook by FQL

In my app, I want to fetch all videos of logged in user i.e. videos that are uploaded by user, videos share by user, user tagged in etc. Currently I'm using "stream" query as: SELECT created_time, post_id, actor_id, type, updated_time, attachment…
Himanshu Mohan
  • 722
  • 9
  • 30
1
vote
0 answers

Facebook FQL API returning empty array

I have made sure that the user has 'read_insights' permission. I also have 'manage_pages' permission. I receive no errors which is kind of annoying as it woud help. All I ever get is an empty array. The Graph API works just fine, returning correct…
Alex
  • 4,844
  • 7
  • 44
  • 58
1
vote
2 answers

Querying for past events using FQL

I'm trying to access the past events of a given user. I'm using the following FQL query: SELECT eid, name, pic_square, start_time, end_time, location FROM event WHERE eid IN (SELECT eid FROM event_member WHERE uid = me() AND rsvp_status !=…
mplappert
  • 1,314
  • 11
  • 18
1
vote
1 answer

Getting Facebook Events using fql

Trying to retrieve facebook events through fql using the query below. I am unable to get venue details other than "id". fql?q=SELECT name,description, pic_small,pic_big, eid,venue,location from event WHERE eid in (SELECT eid FROM event_member WHERE…
akd
  • 1,427
  • 3
  • 16
  • 21
1
vote
1 answer

Get FQL real time updates

I am using FQL to query . I want to repeat the query every 15 mins and see if any change occurs. So ideally i want to do a FQL query, wait 15 mins do same query again etc... Is there any way i can use Push notifications to do it? I read about real…
Zer0
  • 2,171
  • 3
  • 17
  • 18
1
vote
0 answers

Multiple source_ids in a "stream" FQL query

Since some time I'm getting inconsistent behavior when using multiple source_ids in an FQL query to the stream table. The query is e.g.: SELECT source_id, post_id, created_time, message, permalink, type, attachment FROM stream WHERE (created_time…
adamw
  • 8,038
  • 4
  • 28
  • 32
1
vote
2 answers

facebook graph api vs fql ? which is faster?

I am attempting to develop a facebook application . I came across facebook graph api and fql to fetch data from facebbok. As per my application i need to fetch lots of information from facebook using either of one . Can anyone suggest which is more…
Pradeep Jaiswar
  • 1,785
  • 7
  • 27
  • 48
1
vote
2 answers

How to get only friends with profile photos uploaded, and ignore those users with the default silhouette?

I cannot figure a way get friends only with profile photos. I could use multi-query to check whether every friend has a photo, but that would incur heavy traffic. Are there any alternatives?
Gajus
  • 69,002
  • 70
  • 275
  • 438
1
vote
2 answers

Handling wildcards with FQL

I want to fetch the data from Facebook user table using wild cards. But, I guess current FQL is not supporting the wildcards, or I'm missing something. Also, it gives an error for LIKE as well. currently, I'm executing it as follow SELECT uid,…
kaur
  • 567
  • 1
  • 7
  • 24
1
vote
1 answer

Page id in facebook api fql/places

I am trying to use fql/places api to query places near to my current location. I am not sure what does page id mean in the following query. The query works fine and returns expected result. However if i dont use page id I get an…
ila
  • 920
  • 12
  • 35
1
vote
1 answer

Get current users like status on posts

I have been able to pull the Facebook newsfeed for the logged in user using the "me/home" Graph API Call and am displaying the result in an activity. Now I have been trying numerous methods which will query the post's like column and check if the…
1
vote
1 answer

Facebook C# SDKv6 How to Parse results of Multi Query FQL

I can successfully execute a multi query fql using the facebook c# sdk v 6.14 thanks to Prabir's blog, but need help in parsing the results. I've searched and tried many ways to no avail. I know it is a simple syntax issue, but I'm fairly new to c#…
crichavin
  • 4,672
  • 10
  • 50
  • 95
1
vote
1 answer

Is it possible to sort the user result returned by facebook search request according to mutual friends

I am trying to use facebook search https://graph.facebook.com/search?q=vartika&type=user&access_token= the result are same for all the users. I want the result specific to particular user,returning the user list sorted by number of mutual friends …
1
vote
1 answer

Using FQL or Graph API to retrieve comments from legacy fb:comments widgets

I'm working with a client who has been using the FBML fb:comments widget with the xid parameter to host comments on their blog for quite a while. At some point, they added the migrated=1 parameter. I am trying to retrieve these comments threads by…
Seamus Campbell
  • 17,816
  • 3
  • 52
  • 60
1
vote
1 answer

Access social readers' posts in a facebook App

How can a facebook app, have access to a social reader's post in the feed? For example, I want to have access to Washington Post's social reader post (when someone else reads an article there and it gets shown up in my news feed) from an app that I…
theHawkeye
  • 53
  • 1
  • 4