title: using facebook stream publish
body: <p>I want to publish a URL as an attachment to a friends wall:</p>
  
  <pre><code>var attachment={'name':'favor','href':'http://128.196.239.71/movie.php?mid=&lt;?php echo  $_GET['mid']; ?&gt;'};
                                           Facebook.streamPublish('',attachment,null,friends[i],comment,callback);
  </code></pre>
  
  <p>Doing the above gives me a Facebook undefined, what should I do to remedy this?</p>
  
  <p>Do I need to set a special permission in order to do this to the sender of this message?</p>