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.
精彩评论