title: post on ticker and activity recent but not on the wall with php
body: <p>my question is simple. How post on ticker and activity recent BUT not on the wall(timeline) with PHP.
  (publish an action).
  I have already done in javascript but I want it in php</p>
  
  <p>I've test this :</p>
  
  <pre><code>$params = array(
              'message'       =&gt;  "This post is a test",
              'name'          =&gt;  "Titre de mon test",
              'caption'       =&gt;  "My Caption",
              'description'   =&gt;  "Some Description...",
              'link'          =&gt;  "http://stackoverflow.com",
              'actions' =&gt; array('name'=&gt;'Recipe','link'=&gt;'url'),
              'picture'       =&gt;  "http://i.imgur.com/VUBz8.png",
          );
  
          $post = $facebook-&gt;api("/$user/feed","POST",$params);
  </code></pre>
  
  <p>thanks.</p>
  
  <p>i found EDIT :</p>
  
  <p>i found</p>
  
  <pre><code>&lt;meta property="og:title" content="My article" /&gt;
  &lt;meta property="og:type" content="namespace:recipe" /&gt;
  &lt;meta property="og:url" content="http://url/" /&gt;
  &lt;meta property="og:image" content="" /&gt;
  &lt;meta property="fb:app_id" content="apikey" /&gt;
  &lt;meta property="og:description" content="My wonderful article" /&gt;
  </code></pre>
  
  <p>and php</p>
  
  <pre><code>try {
          $action = array('name' =&gt; 'recipe', 'link' =&gt; 'http://url/');
          $actions = json_encode($action);
          $params = array('recipe'=&gt;'http://url/','access_token'=&gt;$facebook-&gt;getAccessToken(), 'actions'=&gt; urlencode($actions));
          $out = $facebook-&gt;api('/me/namespace:cook','post',$params);
          echo "Your post was successfully posted to UID: $user";
  
      }
      catch (FacebookApiException $e) {
         $result = $e-&gt;getResult();
      }
  
  
  }
  </code></pre>