I know who to make my application post to the current user's wall. Now, how can my app post to wall of the user's friend?





Appreciate if you can like this page if you find it useful! - Click "Like"

Post to the wall of the user's friend is basically the same as post the user's wall. Instead of posting to "/me/feed", simply post to "/friend_user_id/feed". For example,

 $result = $facebook->api('/12389324090284/feed/',

where "12389324090284" is the user's friend.

And in case you need to get the friend list, please refer to my tutorial in here.




Find my FAQ on Facebook Development useful? Download the PDF for all the FAQs HERE!