を処理できなかった私は、ユーザーが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
});
}
私は、送信招待をクリックすると、Iからのみエラーが出ますFacebook:
Sorry, your request could not be processed.
Please try again
エラーに実際のフィードバックがないため、問題がどこにあるか分かりません。
urlフォーム私のアクションは、私のアプリケーションのルートである "/"です。私のアプリは独立している、それは問題かもしれない、そうじゃない? – rtacconi
鉱山が短すぎる、私はそれを何かより長く変えて働いた。ありがとうございました – rtacconi