I'm trying to find an API call (or set of calls) that will allow an app to get the posts that one would see if viewing a friend's wall. Either a REST call or a FQL call would do.
I tried /feed and /posts, compare the results with what I see on my friend's wall, and the results I get from it are incomplete.
I know this is possible because apps like Friendly are able to do it.
Any hints?
Tap in the top right of Facebook. Scroll down to Friends and tap the name of the friend list. You'll see a feed with a series of posts from people on your list. This may include posts they've shared, posts they reacted to or posts they've been tagged in.
By default, Facebook always lets a user's friends see his or her posts. The most restricted standard privacy setting is "Friends Only," which only stops non-friends from seeing a Wall. If you are friends with someone and still cannot see that user's wall, it means your friend has customized his or her Wall privacy.
Go to the Favorites option. When you add friends and Pages to your Favorites on Facebook, their posts will be shown higher in your News Feed. Choose whose posts you want to see first, from Facebook friends and “liked” Pages. You can click on the “ALL” button to choose whether to prioritize only friends or only Pages.
Facebook provides a few built-in “Lists” for categorizing your friends. You can use these lists to control who you share with. One of the lists is called “Restricted”. When you add someone to your “Restricted” list they will only be able to see your “Public” content or posts of yours that you tag them in”.
Well, there's two different API endpoints for querying the posts of a given user; home
and feed
. Home includes posts from other people and pages (basically what you see when you log in and go to your home page) and feed is the stuff the user is sharing. Assuming your application has authenticated the user and they've allowed the read_stream permission, you can then make queries to the Graph API using their access token:
https://graph.facebook.com/{SOME_USER_NAME}/home?access_token={SOME_ACCESS_TOKEN}
and
https://graph.facebook.com/{SOME_USER_NAME}/feed?access_token={SOME_ACCESS_TOKEN}
The only hint I could give you is that "incomplete" is pretty standard with the Facebook API. You can only do the best you can with what they give you. Counts will be wrong. Data will be wrong. It's a fluctuating, moving target, so code to that fact.
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