I know that when a user visits your app's canvas page e.g.
http://apps.facebook.com/YOUR_APP/
this counts them as a "User" and thus, your "User" counter increments.
But what about if a person clicks on the Facebook's Javascript SDK Login button on your website without using the canvas page? This one:
If they authorize the login and...
I'm using Facebook Graph API on Google App Engine. I was able to fetch all the basic info from an user. However when I tried to fetch any user info that requires permission, email for exemple, it always appears as None. I've followed the whole tutorial available at the developers blog.
Here's my code:
class User(db.Model):
id = db....
I'm trying to get some basic information about a user in a PHP script (id and name).
I have tried the following methods:
$retrieve = curl_init("https://graph.facebook.com/me?access_token=$accesstoken");
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($retrieve, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 10);
...
I can get a page's wall feed by making a simple javascript api call to:
FB.api("/PAGE_ID/feed", { limit:6 }, function(response){}
This gets the last 6 Posts on the page. I'd like to be able to select the last 6 posts by people who are not the page, however. Is there an undocumented (or documented!) parameter or other way to accomplish...
Now I can remember more, that whenever we get back a Facebook session or access_token, it should have a life time, and before we get back a user id, the library is supposed to have verified the user id is real by doing MD5, etc.
How do session and access_token work currently? Is there infinite session any more? Do they normally expire...
what is the lifespan of an access token in the FB oAuth API?
Not the extended offline permissioning, just a normal access token?
...
The following is what Facebook gives as a cookie to a website that uses Facebook connect.
It issues one cookie with the name fbs____<appID>_____, and can be splitted using the & character: (numbers changed... but they are in similar form)
Array
(
[0] => "access_token=32480239450325|2.39F_lt3098asddASDL__.3600.1287892800-123456789|...
The new Facebook Javascript SDK can let any website login as a Facebook user and fetch data of a user...
So it will be, www.example.com including some Javascript from Facebook, but as I recall, that script is considered to be of the origin of www.example.com and cannot fetch data from facebook.com, because it is a violation of the "same...
Hi,
I'd like to get a list of users who like a certain page or a fan of it.
The FB API documentation states that you can only get the count of the fans of a certain page using the social graph, but not a list of the fans.
A discussion here http://stackoverflow.com/questions/2001281/retrieve-facebook-fan-names suggests that one could ...
I am using facebook python sdk with app engine. I am able to access the user information when the user is online. I have already included
<fb:login-button perms="read_stream,publish_stream,offline_access"></fb:login-button>
in my index page. User has also allowed for offline_access. However, I am having problem accessing and us...
On page http://developers.facebook.com/docs/reference/rest/, it says
Note: We are currently in the process
upgrading our core server API from the
old REST API to the more modern Graph
API. Most of the methods required for
canvas applications to integrate with
Facebook have not yet been upgraded to
the new API. For the tim...
Hi,
I'm trying to fetch data from Facebook, using the graph API.
The request I make looks like this: http://graph.facebook.com/<page_name>/, it returns basic data about the page. If I do request for: http://graph.facebook.com/<page_name/feed/, I get a json with data from this page's feed.
There are some pages that require aut...
Hi,
I want to fetch some historical data using the api. But when I access older and older pages, I suddenly hit one that's returning me empty data.
For example, call to this url: https://graph.facebook.com/kenderken/posts?limit=100&until=2010-06-01T09:10:53%2B0000 returns me empty data even that there are posts on my wall that are...
Now that we have Facebook Like buttons on web pages all over the place, is there a way to send updates to people who have liked those pages? I haven't seen/heard about this ability but it seems like it'd be the natural next step.
...
Facebook's developer principles and policies and the general terms of use seem to forbid automated data collection, but graph.facebook.com/robots.txt seems to allow it:
User-agent: *
Disallow:
Does anybody know how to make sense of this?
...
Hi there,
I know that this question could have been asked a million times before, but unfortunately I can't compile all these answers to get it working.
I want to write a PHP code that uses facebook graph API, to search for a profile (by name for example) and then grab this information to a local store. I revised facebook graph API but...
I have a perl CGI script doing the Facebook authorization flow as described at http://developers.facebook.com/docs/authentication/. When I go to my Facebook app page in a browser my script receives the initial query from Facebook, authenticates the signed_request, and then sends a redirect to the following url:
https://graph.facebook.c...
Using Facebook's Graph API, I'm a little confused about the interaction between the requested application permissions and the user's privacy settings.
I'm developing a web app that allows people to login via Facebook Connect, and then attempts to retrieve their interests and friends list. I've set the Facebook application permissions...
Can someone point me to an up-to-date and exhaustive list of extended permissions for Facebook Graph API? I've been using (http://developers.facebook.com/docs/authentication/permissions), but that list doesn't include music, books, etc. Is that a subset of one of the existing permissions?
...
With the Facebook API are only recent things (wall posts, friends status updates etc) obtainable or is everything ever associated with the user's account obtainable?
...