title: Post on friend's wall using PHP SDK for Facebook
body: <p>I am trying to post on my friend's wall using PHP SDK of FB. The code publishes the post on my wall only and also not visible to others.</p>
  
  <p>Here is the code:</p>
  
  <pre><code>$ret_obj = $facebook-&gt;api('/me/feed', 'POST',array(
              'link' =&gt; 'www.google.com',
              'message' =&gt; 'message','description' =&gt; "I am bond",
              'to' =&gt; array('id' =&gt; 'friend_id','name' =&gt; 'friend_name'),
              'actions' =&gt; array('name' =&gt; 'Re-share',
              'link' =&gt;'http://apps.facebook.com/my_app/'),
              'privacy' =&gt; array('value' =&gt; 'EVERYONE')));
  </code></pre>
  
  <p>This code publishes on my wall rather than the friend's wall. Also the post is only visible to me and not to any one else. </p>