2010-06-07 40 views
2

當我點擊一個鏈接,調用以下功能...我得到 「出錯了,我們正在儘快修復它」。FB.ui:stream.publish - 發佈到牆問題

它已經工作了幾個星期,並且已經開始像上個星期那樣工作了。

我改變了什麼?可能是的。但是,相同的代碼適用於另一個非生產測試fb-app-settings!

這裏是JavaScript。(有沒有JavaScript錯誤頁面上)

我需要幫助搞清楚什麼是錯的或哪裏找!我等了幾天,但仍然是同樣的問題。

function publishReview() { 
    var atch = { 
     name: 'Raajneeti - Movie Review', 
     href: 'http://www.moviereviewsindia.com/Movie.aspx/Details/Raajneeti', 
     caption: '{*actor*} just revealed his taste of a movie', 
     description: 'Write, Read and Share movie reviews just through your Facebook Account', 
     media: [{ type: 'image', src: 'http://moviereviewsindia.com/Content/Images/logoround.png', href: 'http://www.moviereviewsindia.com'}] 
    }; 

    FB.ui(
     { 
      method: 'stream.publish', 
      message: '3/5 - Multi-starrer raajneeti was good but not great, and a very good efforts from Prakash Jha. A lot happened in 3 hours. I recommend to hire ajay devgan for car wash. Nana patekar was rocking as usual in his unusual style. Take him out and your movie experience may deterior. Ranbeer got a nice role of ARJUN, and he was characterized nicely in the movie. I can\'t say whether he was that great in acting. Story was good enough, but don\'t expect total real life thingy there. ', 
      attachment: atch, 
      action_links: [ 
       { text: 'My Reviews', href: 'http://www.moviereviewsindia.com/User.aspx/Profile/1266802272' } 
      ], 
      href: 'http://www.moviereviewsindia.com/Movie.aspx/Details/Raajneeti', 
      user_prompt_message: 'Share your thoughts about ' + 'Raajneeti - Movie Review' 
     }, 
     function(response) { 
      if (response && response.post_id) { 
       //success action 

      } else { 
       //failure action 
      } 

     } 
    ); 
} 
+0

我試着用更短的FB.ui.message。這工作。我想知道這個消息是否有定義的長度限制。 – cdpnet 2010-06-07 23:30:27

回答

1

我試着用更短的FB.ui.message。這工作。我想知道這個消息是否有定義的長度限制。