2010-11-30 169 views
0

我有下面的代碼,以允許用戶邀請thier Facebook上的朋友:Facebook上邀請朋友錯誤:對不起,您的請求無法處理

function create_fb_friends() { 
    FB.init({ 
    appId : 'xxxxxxx', 
    status : true, // check login status 
    cookie : true, // enable cookies to allow the server to access the session 
    xfbml : true // parse XFBML 
}); 

FB.ui({ 
    method: 'fbml.dialog', 
    fbml: (
     '<fb:request-form action="/" target="_top"\ 
        method="POST"\ 
        invite="true"\ 
        type="MyApp Application"\ 
        content="Checkout this new application.">\ 
        <fb:multi-friend-selector\ 
        showborder="false"\ 
        actiontext="Invite friends to...">\ 
        </fb:request-form>' 
     ), 
    size: {width:640,height:480}, width:640, height:480 
    }); 
} 

當我點擊發送邀請,我從只得到一個錯誤Facebook:

Sorry, your request could not be processed. 

Please try again 

我沒有任何線索可以解決問題,因爲在錯誤中沒有真正的反饋。

回答

1

它好像這是一個已知的問題:http://bugs.developers.facebook.net/show_bug.cgi?id=10874

不幸的是,已經開了,沒有真正的意見/行動青睞。

附註 - 該錯誤似乎指向'行動'參數的問題。我用URL縮短了bit.ly替換了我正在使用的URL,它似乎正在工作。

+0

url表單我的動作是「/」,這是我的應用程序的根。我的應用程序是獨立的,這可能是一個問題,不是嗎? – rtacconi 2010-12-01 16:22:08