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
9
votes
3 answers

Facebook API - How to get user's address, phone #?

Is anyone able to get facebook user's address, phone # using FQL or Graph api? Have tried the following FQL and was able to get 'Current City' and 'Hometown' which are under 'Basic information' but not the 'Address' or 'Phone' which are under…
amu
  • 91
  • 1
  • 1
  • 2
9
votes
4 answers

Facebook - max number of parameters in “IN” clause?

In Facebook query language(FQL), you can specify an IN clause, like: SELECT uid1, uid2 FROM friend WHERE uid1 IN (1000, 1001, 1002) Does anyone know what's the maximum number of parameters you can pass into IN?
Gaurav Sharma
  • 4,032
  • 14
  • 46
  • 72
9
votes
1 answer

Fan count for a Facebook Fan Page

I needed to pull the fan count for particular fan pages on Facebook. After digging through the API, I couldn't find a way to do this with the API "proper." Instead I fell back to a FQL query, and it worked quite well. select fan_count from page…
Ryan McGeary
  • 235,892
  • 13
  • 95
  • 104
9
votes
3 answers

How to send a FQL query with the new Android SDK

I've been searching over the developers.facebook website looking for a way to use the new SDK and send FQL queries but it seems like everything has changed and the documentation is talking about all sorts of other ways to request me or friends but…
thepoosh
  • 93
  • 1
  • 5
9
votes
3 answers

How to list all comments in my domain

I am using the HTML5 version of Facebook Comment in my website. I have my own Facebook APP Id. Using Graph-API, and FQL (I think this is how to do it), I want to list all the Comments posted in my website. Example - Page…
8
votes
2 answers

How to get Place ID of city from Latitude/Longitude using Facebook API

I need to find the Facebook place for the city for many lat/long points. The actual points refer to personal addresses, so there are no exact place ID's to look for as in the case of a business. For testing, I was looking for the town of Red Feather…
Stan James
  • 2,535
  • 1
  • 28
  • 35
8
votes
4 answers

get list of facebook users who are using specific application using FQL

I am trying to fetch following case using FQL If few users have authorized "Application A" then is it possible to know that currently how many users are using that "Application A" ( users those are not friends of each other) So far i tried…
Hunt
  • 8,215
  • 28
  • 116
  • 256
8
votes
1 answer

How can I retrieve the full newsfeed of a user via the Facebook API?

I would like to retrieve the full newsfeed including historical data of a given user. In principal, this is straight forward using either an authenticated call to the Graph API or to the FQL API. With the Graph API, I access the me/home endpoint.…
kongo09
  • 1,281
  • 10
  • 23
8
votes
1 answer

Facebook FQL multiquery in iOS SDK

I am looking for some documentation or sample code on how to send multiquery fql requests to Facebook via iOS SDK. I found some older samples but they doesnt work for me. I have populated an NSDictionary with the queries and I try to send the…
8
votes
1 answer

I want to use facebook connect in my website to register, login and comment on news articles or posts made by other users

I would like to implement the following things in my website. I have done some extensive search over the internet but couldnt find and specific examples on how to implement them I am developing this site in php using a mvc framework Would like to…
sasi kiran
  • 89
  • 1
  • 1
  • 3
8
votes
2 answers

FQL and Graph API in iOS

have anyone used FQL of graph API in iOS? I am trying to get users posts from different groups I have read FQL documentation but I need to see an example to help me proceed? please help
Dina
  • 467
  • 4
  • 18
8
votes
2 answers

Get users' Facebook Likes with FQL

Hello everyone I am trying to get my friends 's likes on FB using FQL 'SELECT name,type FROM page WHERE page_id IN (SELECT target_id FROM connection WHERE source_id=%i and target_type="Page") AND type!="APPLICATION"'%(friend.fb_uid)) The query…
PanosJee
  • 3,866
  • 6
  • 36
  • 49
8
votes
2 answers

Facebook Graph API: Get Events by Venue

Is there a way to query all the events for a specific venue? I noticed that there is no such entity Venue - it is a structure inside the event object. Assuming there isn't, what do you think about the following solution? Query all the events in the…
user1782427
  • 770
  • 1
  • 8
  • 19
7
votes
1 answer

How to get the time a friend was made?

I am in the process of creating an app, and one of the pieces of data that I need is the time when a user made a certain friend. So for example do an FQL query where I return the Uid of the friend and the timestamp (date, time) of when that friend…
Pompey
  • 616
  • 2
  • 9
  • 23
7
votes
2 answers

How to get messages for specific user by FQL or GRAPH API?

I would like to retrieve all messages from https://graph.facebook.com/me/inbox or via FQL for specific user like: "All messages from and to user with ID: 123456789" I will be possible with FQL multi-query ?