title: Facebook cURL posting as me?
body: <p>Create facebook app</p>
  
  <p>Using a cURL to post a message from an App but it's appearing to be posted from me? How can I can it to post from the app, here's my cURL</p>
  
  <pre><code>    $attachment =  array(
      'access_token' =&gt; $token,
      'message' =&gt; '$message',
      'name' =&gt; '$name',
      'link' =&gt; '$link',
      'description' =&gt; '$description',
      'picture'=&gt; '$picture',
      'actions' =&gt; json_encode(array('name' =&gt; '$name2','link' =&gt; '$link2'))
  );
  
  $ch = curl_init();
  curl_setopt($ch, CURLOPT_URL,'https://graph.facebook.com/'.$pId.'/feed');
  curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
  curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
  curl_setopt($ch, CURLOPT_POST, true);
  curl_setopt($ch, CURLOPT_POSTFIELDS, $attachment);
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);  //to suppress the curl output 
  $result = curl_exec($ch);
  curl_close ($ch);
  </code></pre>
  
  <p>The post works, but it just appears as if I posted it and not the App, suggestions?!</p>