I m trying to get wall posts from a profile facebook. I have no problems with the fan pages and my user token is valid (at least for the fan pages).
Example with this post : https://www.facebook.com/aurelia.filion/posts/10151342315613445 As you can see the post is public.
So i try: graph.facebook.com/529628444_10151342315613445?access_token=MY_TOKEN graph.facebook.com/10151342315613445?access_token=MY_TOKEN
it returns : "error": { "message": "Unsupported get request.", "type": "GraphMethodException", "code": 100
In my Api graph explorer, i can't see the posts from this user neither. graph.facebook.com/529628444?fields=posts (529628444 is the aurelia.filion's id)
So is it possible to get the wall posts? It's public it should be a way to get them
thanks
ok i 'll explain in a different way, my goal is to get this kind of posts with the graph (i can get all others posts except theses)
facebook.com/aurelia.filion/posts/10151342315613445
facebook.com/aurelia.filion/posts/10151336175793445
but i get the error "Unsupported get request."
i've tried both user token and app token this link doesnt work : graph.facebook.com/529628444_10151342315613445?access_token=MY_TOKEN
when i m trying with the feed i dont see the posts i want in there.
And if i request the posts graph.facebook.com/529628444/posts?limit=100&access_token=TOKEN i can see everything (link, photo etc) except the freaking posts!!
How can i get theses posts, is it a token problem, it looks like it's a status, is it different to get, i mean do we need permissions? graph.facebook.com/529628444?fields=statuses&access_token=TOKEN it doesnt return any results! its empty!
EDIT
With the Facebook API, you can access and read public data for Facebook Pages that you are not the admin of. This data, including business metadata, public comments, and posts, can be used for competitive analysis and benchmarking.
The Graph API is free to use, for all applicable use cases. Rate Limiting applies though, > developers.facebook.com/docs/graph-api/advanced/rate-limiting There is no way to “pay” or > otherwise get those limits raised for normal 3rd party apps.
This answer was written back when the Graph API version was in its first version. Back then you could get the user feed by using the user ID, right now the user ID is no longer shared between apps. Also facebook created a new API that it's only available to some of it's partners.
So right now it's impossible for you to get the public user feed, unless the user has used your app. You can still get the Pages feed though.
This answer was for graph api v1
So you must use this https://graph.facebook.com/529628444?fields=feed&access_token=YOUR_TOKEN
And if all you want is query public data you can create a APP Token by doing this:
https://graph.facebook.com/oauth/access_token?
client_id=YOUR_APP_ID&client_secret=YOUR_APP_SECRET&
grant_type=client_credentials
And use this token instead of using your user token.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With