How to comment and Like on friends wall through FBGraph API?
Documentation with examples on how to do this is at at http://developers.facebook.com/docs/api/.
You need to
authenticate (get an access token)
know your friend's ID
do an HTTP POST to the right URL to create posts or like existing posts.
The section labelled "Publishing" on the aforelinked documentation page shows how to do this.
Related
I am using facebook API for posting in group and pages. I dont see an endpoint where I can post on my own newsfeed. What I see is only I can share content via fb link. Does someone know where could I find the endpoint on posting on own newsfeed? Thanks.
I want to get who commented or liked to my post on Facebook through facebook api.
I used Facebook Graph API and could get post_id.
And used this endpoint: {POST_ID}/comments, but it returned only my comments.
Is there any way to get other's comments with user id?
by calling /me/feed in graph api i can get feed like my posts or posts that i am tagged in.
How can i get a feed with my friends posts or news that i see in my wall in fb?
i mean feed like the one that i see when i login to facebook
i tryed me/feed with several parameters but no luck
same here
https://developers.facebook.com/docs/graph-api/reference no info :(
i didnt manage to find something useful in facebook graph api explorer
thanks!
How can i get a feed with my friends posts or news that i see in my wall in fb?
You can’t.
That used to be available in the very beginning via the /home edge, but that has since been removed.
There is no replacement. Friend’s posts are only available to your app, if the friend would join your app and grant it permission to read their posts.
(Plus, platform policy says apps should not replicate Facebook “core functionality”. If a user wants their news feed, they can go to Facebook ...)
I have a facebook page for a project I am doing. I embedded the timeline stream in my external website, but now I want visitors of my website to be able to post to my wall. They need to be able to post as themselves, not the administrator of the page.
How should I do this ?
#EDIT: I searched the facebook developers page allready ofcourse, but didn't find the info I need.
In this case
Facebook PHP API post to wall falls under "Recent Posts by Others"
they posting to a FB Wall maybe u have to check if the access token u get from the users allow a post to a page wall.
How do I share a friend's post on my wall? I don't want to copy the original post's text and create a new post, becuase I need my friend to see that I shared his post.
Facebook Graph API doesn't provides anything to share posts. However you can perform a 'comment' or 'like'.