TAdvFacebbok, get posts from following users

Hi,


Is it possible to get the list of posts from the users that the logged user is following? Can you share an example?

Thank you.

Hi,


Yes, first get the list of friends from the authenticating user.
Then get the profile of a specific user and use that profile the retrieve the user's feed.

Example:
var
Profile: TFacebookProfile;
begin
AdvFacebook.GetFriends();
Profile := AdvFacebook.GetProfileInfo(AdvFacebook.FriendList[0];
AdvFacebook.GetFeed(Profile);
end
Bart Holvoet2014-01-08 10:42:53

But this way won't give you the public posts that appear in the news feed that are made from a user that you are just following (not friends with). How can I get those posts and comments?

Unfortunately it's currently not supported to retrieve a list of users you are following.
However this is a good suggestion and we'll investigate if this functionality can be added in a future version of the TMS Cloud Pack.