title: FB.ui / Publish Stream Issue
body: <p>I am trying to publish a simple stream to facebook from my clients website, using FB.ui, but when I run the "streamPublish" method holding this code I just get "An error occurred. Please try again later."</p>
  
  <p>My code is as follows:-</p>
  
  <pre><code>&lt;head&gt;
   &lt;title&gt;A Dynamic Comment System&lt;/title&gt;
   &lt;meta http-equiv="content-type" 
    content="text/html;charset=utf-8" /&gt;
   &lt;meta http-equiv="Content-Style-Type" content="text/css" /&gt;
  
   &lt;!-- Javascript Librairys --&gt;
   &lt;script src="http://connect.facebook.net/en_US/all.js"&gt;&lt;/script&gt;
   &lt;script type="text/javascript" src="javascripts/commentsystem.js"&gt;&lt;/script&gt;
  
   &lt;!-- Style Sheets --&gt;
   &lt;style type="text/css" media="all"&gt;
    @import "css/commentstyles.css";
   &lt;/style&gt; 
  
    &lt;script&gt; 
             window.fbAsyncInit = function() { 
      FB.init({appId: "180166762023187", status: true, cookie: true, 
                  xfbml: true}); 
              }; 
  
     (function() 
     { 
      var e = document.createElement("script"); e.async = true; 
      e.src = document.location.protocol + "//connect.facebook.net/en_US/all.js"; 
      document.getElementById("fb-root").appendChild(e); 
     }());
  
     function streamPublish()
     {       
      FB.ui(  
        {   method: 'stream.publish',display:'popup', message: 'getting educated about Facebook Connect', attachment: 
         {      
          name: 'Connect', caption: 'The Facebook Connect JavaScript SDK', description: ('A small JavaScript library that allows you to harness ' +  'the power of Facebook, bringing the user\'s identity, ' + 'social graph and distribution power to your site.'),
          href: 'http://github.com/facebook/connect-js'     
         },  action_links: [{ text: 'Code', href: 'http://github.com/facebook/connect-js' }],     
          user_message_prompt: 'Share your thoughts about Connect'   
        },   
        function(response) 
        {     
         if (response &amp;&amp; response.post_id) 
         {       
          alert('Post was published.');     
         } 
         else 
         {       
          alert('Post was not published.');     
         }   
        } );
     } 
     &lt;/script&gt; 
  &lt;/head&gt;
  </code></pre>
  
  <p>I am not all that familiar with the FB API, so I am totally stumped - any help much appreciated ! :)</p>