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

Empty result for type=page in facebook

I am using facebook graph API to get the business detail by "type=page" , but for some business name show empty result I have to use url http://graph.facebook.com/search?q="Business Neme"&type=page Then I get { "data": [ ] } please give me…
Khoyendra Pande
  • 1,627
  • 5
  • 25
  • 42
6
votes
4 answers

Facebook emails always return null through FQL and RestFB

I'm trying to convert friend pages into fan pages (most businesses have created friend pages by mistake) and am trying to email everyone on a friend list about the move. I've tried FQL "SELECT email FROM user WHERE uid=xxxx" Creating groups (not…
mabeloo52
  • 63
  • 1
  • 4
6
votes
1 answer

Analyse user feed using facebook graphapi 2.x

With FQL, it was straightforward to get insights of social engagement of a user.For example, Number of posts made by the user Number of likes Number of photo uploads Number of photo tags etc… As FB wants to go away with FQL, there is no direct …
6
votes
1 answer

How to get facebook likes, shares, and comment count for a post url without using fql?

I need facebook like, share and comment count by passing the post url ("www.example.com/exampleblog") without using fql(as fql is not supported in v2.1). i dont want the below one https://graph.facebook.com/fql?q=SELECT url, share_count,…
6
votes
3 answers

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…
simianarmy
  • 1,485
  • 10
  • 13
6
votes
2 answers

Python requests urlencode not working?

EDIT: I figured out the problem. The # in #user_sex is not being converting to %23 by python requests. Is there a way to force python requests to convert # to %23 or will I just have to hand code that part? I'm trying to make a facebook fql…
bab
  • 2,119
  • 3
  • 28
  • 49
6
votes
1 answer

Search for all public events in an area

I want to query all events in an area (a specific location + reach as explained here is fine) and return event locations, no matter if via Graph Search or FQL. Problem: I only get a very small amount of events returned. Searched rigorously, did not…
6
votes
3 answers

how to get data from Json object?

i am working on a android app which is integrated with facebook . i am using fql query to fetch info from facebook. my fql method is void runfql(){ String fqlQuery = "SELECT uid, name, pic_small,birthday FROM user…
user2132063
  • 73
  • 1
  • 1
  • 3
6
votes
2 answers

How to get mutual facebook likes between users who are using an app

Let's say two users are using an application and have granted the application appropriate permissions to retrieve their likes. Is it possible using FQL or the graph api to find what likes they have in common? Similar to how you can find…
landland
  • 2,117
  • 3
  • 20
  • 26
6
votes
1 answer

How to get page fans distribution by country?

I am trying to get the number of likes by country for a given page that I do not own (public datas). Just something like that : http://www.socialbakers.com/facebook-pages/40796308305-coca-cola But I am not able to get this information with the Graph…
6
votes
1 answer

Query optimization and API throttling

We are tracking Facebook Page and Post metrics for a number of clients, and we have some questions regarding high CPU intensity and too many calls for Post/comments - according to what is being reported by the developer insights console (Insights ->…
6
votes
2 answers

Finding who INVITED you :: Facebook FQL Explorer Bug: "Inviter":null

Similar unanswered question, however this question focusing more on where to proceed to now. I am led to believe that there is a bug with Facebook's FQL because the event_member table never returns a non-null answer for "inviter", [tested large and…
6
votes
1 answer

Get facebook user checkins

I need to get a list of a facebook user checkins both in photos and in status. I tried to use graph api to query /me/locations' like: $this->api->api('/me/locations?limit=1000'); It returns me a list of user checkins with three different types:…
jribeiro
  • 3,387
  • 8
  • 43
  • 70
6
votes
2 answers

Does FQL have a "NOT NULL" type operator?

I'm messing around with FQL, and I have this query: SELECT created_time, attachment, message FROM stream WHERE source_id = me() LIMIT 1000 which returns 1000 results, most not relevant to me. I'd like to filter, for example, on MESSAGE IS NOT…
blueberryfields
  • 45,910
  • 28
  • 89
  • 168
6
votes
1 answer

Facebook post impressions are null in FQL stream query

According to the FQL Stream documentation the following query is supposed to return impression counts when run by an authenticated page owner, yet it never does. We have the page owner authenticating directly in the graph api explorer with extended…
Yarin
  • 173,523
  • 149
  • 402
  • 512