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

Facebook FQL returning duplicate posts in query

I am trying to get the last 10 posts from a user's stream. For some reason my FQL query will return two of every post in succession. Here is my code, Pardon the CoffeeScript, method = 'fql.multiquery' queries = 'feed' : "SELECT attachment , type ,…
d4rklit3
  • 417
  • 1
  • 5
  • 12
1
vote
3 answers

FQL NOT IN Equivalent operator like <> , EXCEPT, !=

I'm trying to develop this code: $users = $facebook->api(array( 'method' => 'fql.query', 'query' => "SELECT uid, last_name, pic_big" + " FROM user WHERE uid IN (" + " SELECT uid" + " FROM…
Albana Muka
  • 25
  • 2
  • 7
1
vote
1 answer

Fql, fetching "photos of me"

In my facebook page, when someone who's not the admin posts a photo, it goes into an album called "photos of me" that is different from other albums made by me. It has no 'aid'... its url…
Chay Blyth
  • 13
  • 3
1
vote
1 answer

Facebook API Search Results Filter

I would like to allow users in my app to search for people they are not friends with by name. I understand I can do a public search for users using this query: search?q=mark&type=user This gives me ALL users with the name mark and isn't very…
Greg
  • 8,574
  • 21
  • 67
  • 109
1
vote
1 answer

Get Open Graph action ID from authenticated user

I'm taking a first shot at the Facebook Open Graph API. I've made a custom Action Type and Object Type. For this question I'll name them "myaction" and "myobject". function postAction(){ FB.api( …
andyderuyter
  • 1,081
  • 2
  • 8
  • 25
1
vote
0 answers

How to get the number of events for each of your friend using FQL and Facebook PHP SDK

I was wondering if there is an easy way to get the number of events your friend have created / have been invited. I just need to know how many events there are. I do $fql = "SELECT name, id, pic FROM profile WHERE id IN (SELECT uid2 FROM friend…
Nicola Peluchetti
  • 76,206
  • 31
  • 145
  • 192
1
vote
2 answers

How to make a fql multyquery with the PHP SDK

I'm trying to make a fql multy query using the PHP SDK. This is my code try { $fql = array( "query1" => "SELECT uid2 FROM friend WHERE uid1 = me()", "query2" => "SELECT name, url, pic FROM profile WHERE id IN (SELECT uid2 FROM…
Nicola Peluchetti
  • 76,206
  • 31
  • 145
  • 192
1
vote
1 answer

Incorrect news feed in the Facebook API

I am trying to fetch the news feed of a Facebook account using Facebook's graph API. Facebook's graph API is returning only the data of last day and not older then that. I have gone through the Facebook API explorer and tried the same over there as…
Aman Chhabra
  • 3,824
  • 1
  • 23
  • 39
1
vote
0 answers

Facebook FQL query for events gives always different eid for same event

I am fetching user's events using FQL multiquery. NSString *eventQuery1 = @"SELECT name, start_time, end_time, location, description, venue, host, eid, privacy FROM event WHERE eid IN ( SELECT eid FROM event_member WHERE uid = me() AND…
mraty
  • 627
  • 1
  • 7
  • 14
1
vote
2 answers

How to tell whether a URL is a Facebook Page or Profile?

I use FQL to validate whether a user-submitted URL is a Facebook Page or Profile as seen here: Validate a Facebook page URL This previously worked. When I'd send a URL like facebook.com/zuck or facebook.com/cocacola it would return a normalized_url…
Back Bay
  • 11
  • 3
1
vote
1 answer

How to use with 'pic_crop' in /fql/profile/ API

I want to use the pic_crop object of Profile in Facebook query language as listed in this link https://developers.facebook.com/docs/reference/fql/profile/ I activated this on my profile picture and got these results:
Yakir Sitbon
  • 472
  • 2
  • 8
1
vote
0 answers

Allow a (status) message on pages chronic/timeline via API

on https://www.facebook.com/SITENAME/allactivity I can see all postings, other users have published on the page's chronic. If the option for moderating postings on my page is enabled, I can manually publish/remove every posting made on my page…
1
vote
1 answer

Application to retrieve Castleville neighbors from Facebook list of friends

I`m working on a php application to create a list of my Facebook friends who play Castleville. I succesfully setup my project to connect to Facebook, and execute a FQL query to retrieve all my facebook friends: // other stuff, init, etc... $fql…
1
vote
0 answers

fql query in javascript sdk for getting facebook users in a particular city

I am supposed to pick the user ids of the facebook users who lives in a particular location or city.How could i do it in a fql query in javascript sdk?
1
vote
2 answers

FQL Multi query multiple SELECT statements in the IN clause

I'm using FQL multiquery and I just need something like their query2 example, except I need to select the uids from two different queries. In other words they have: "query2":"SELECT name, url, pic FROM profile WHERE id IN (SELECT uid FROM…
houbysoft
  • 32,532
  • 24
  • 103
  • 156
1 2 3
99
100