Can i get all my posts(profile feed) using Facebook Graph API explorer?
Can i get ALL my posts(my Profile feed) using Graph API explorer?
I tried using https://graph.facebook.com//posts?limit=500
but it doesn't seem to give me everything(even increasing the limit doesn't work) which means it given only a predefined number of posts.
Is there a way to get all posts by me from the time i joined Facebook(because i can get them by scrolling down on my Wall which means facebook has stored them).
Thanks in advance
Get Access Token
http://developers.facebook.com/tools/explorer
Then
https://graph.facebook.com/YOUR_ID/feed?access_token=FACEBOOK_ACCESS_TOKEN
This post might also be helpful:
How to show facebook feed messages from my site without access_token?
You do not need an access token!
$url = 'url_pulled_from_database';
$url = str_replace('http://www.', 'http://graph.', $url);
$get_id = file_get_contents($url);
$get_id = json_decode($get_id, true);
$fbID = $get_id['id'];
//THEN CALL THE FUNCTION
fb_parse_feed($fbID, $maxnumber);
I cant take credit for the fb_parse_feed function, but you can find it here https://gist.github.com/banago/3864515
链接地址: http://www.djcxy.com/p/59010.html上一篇: 计算PHP中两个日期之间的小时数