Can I get all my messages (profile channel) using Facebook Graph API explorer?

Can I get ALL of my messages (profile channel) using the Graph APIs?

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 that he only set a predetermined number of messages.

Is there a way to get all the messages from me from the moment I joined Facebook (because I can get them by scrolling on my wall, which means that Facebook stores them).

Thanks in advance

+7
source share
2 answers

Get Access Token

http://developers.facebook.com/tools/explorer

Then

https://graph.facebook.com/YOUR_ID/feed?access_token=FACEBOOK_ACCESS_TOKEN

This post may also be useful:

How to display Facebook messages on my site without access_token?

+4
source

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 can not use the fb_parse_feed function, but you can find it here https://gist.github.com/banago/3864515

0
source

All Articles