Skip to main content

All Questions

0 votes
1 answer
132 views

cant run facebook FQL twice: Requires user session thrown in - PHP

My facebook app has all of a sudden stopped working, I run this FQL once but if i try to run it twice it comes back with the error: Fatal error: Uncaught Exception: Requires user session thrown in ...
user1398287's user avatar
  • 5,355
0 votes
2 answers
744 views

Facebook Asp.net sdk switch api version

I'm using facebook sdk v6.4.2. but api version 2.1, I get the error when i use fql :/ Error : fql is deprecated for versions v2.1 and higher I want to use the low version : 2.0 Thanks
Burak Cihangir Kutlu's user avatar
0 votes
1 answer
36 views

What Facebook App settings determine whether data is released?

I'm trying to retrieve a list of pages that an authorized Facebook user has access to update through a Facebook App using the PHP SDK. require_once('facebook.php'); $config = array( 'appId' => ...
OrangeFrog's user avatar
-1 votes
1 answer
146 views

Facebook PHP SDK - When I put this in a function, it doesn't work

When I put this code in a function (in functions.php) and echo it in my index file, it doesn't work. <?php //functions.php include_once 'sdk/src/facebook.php'; function FB_GetProfilePic($user) { ...
Shahlin Ibrahim's user avatar
0 votes
2 answers
329 views

FQL returns empty array when query checkin table

I am using the following FQL query to query user's checkins with iOS Facebook SDK 3.5.1, but always got two empty array in the response: {"placeQuery":"SELECT name,page_id from place WHERE page_id IN ...
syshen's user avatar
  • 397
1 vote
0 answers
803 views

Facebook SDK API: How to get details on post shares?

I'm using the FB PHP SDK to get info on a post in a page I manage. So far I can get: $result = $facebook->api("/123xx"); $result = $facebook->api("/123xx/likes"); $result = $facebook->api("/...
Henry's user avatar
  • 1,414
1 vote
0 answers
335 views

Facebook FQL maximum query length for a bunch of URLs

What is the maximum allowed length of a Facebook FQL query like this one below ($urls being the comma separeted list of youtube urls from one channel)? Currently for my $fql query of 62 urls, strlen ...
steakoverflow's user avatar
0 votes
1 answer
460 views

Facebook get wall by time limit

I am getting wall posts by facebook sdk $get = $facebook->api('/me/posts', 'GET' ); or $get = $facebook->api('/me/feed', 'GET' ); I need to save them into my own DB, and after new request, I need ...
Vakhtang Berikashvili's user avatar
1 vote
1 answer
687 views

Facebook SDK returns nothing but the Graph API explorer does

I have a fql query: {"e426262700718049":"SELECT name, start_time, location, creator, pic_square FROM event WHERE eid=426262700718049","c426262700718049":"SELECT name FROM profile WHERE id IN (SELECT ...
Philipp Woe's user avatar
-2 votes
1 answer
1k views

Javascript SDK Multi friend selector

I'm trying to install the fb multi friend selector using javascript SDK following this link : http://developers.facebook.com/docs/reference/dialogs/requests/ My question is : when i call the ...
Dujard's user avatar
  • 299
1 vote
1 answer
617 views

How to get user private message in FB application

I have been developing a Facebook application and I want to fetch the private message(chat,replies,inbox etc.) from the user. I have offline access permission to my application..Is that possible to ...
Atham's user avatar
  • 13
3 votes
2 answers
4k views

How mark a Facebook notification as read via Facebook API?

I have managed to get a list of new Facebook Notifications but can't seem to find a way of marking them as read? I am using FQL with the PHP SDK. Please can someone point me to some documentation ...
pjknight's user avatar
  • 130
0 votes
1 answer
1k views

Facebook Javascript SDK: Reading from the stream using FQL

I am using this very simple query as part of Javascript to read from the stream using FB API. Somehow it does not return any data. I am able to read from the user table, is the way to access the ...
prk's user avatar
  • 1
2 votes
3 answers
5k views

How can I get user id for likes of my page?

I'm developing for a Facebook page with Graph API, and would like to know how to get the user IDs of users who like my Page, even though I can get picture and name of those fans using the social ...
masa's user avatar
  • 21
0 votes
2 answers
424 views

Facebook graph API & PHP SDK questions

Is there any limit to access graph API or php sdk in facebook (like XXX no. of hits allowed per day/hour)
Ashish Pethkar's user avatar

15 30 50 per page