29
Facebookログイン作業の登録フローを取得しようとしています。ここでは最低限の例です:oauth 2.0が有効な場合、fb:login-buttonの登録URLパラメータが失敗します。
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<title>My Facebook Login Page</title>
</head>
<body>
<script type="text/javascript" src="http://connect.facebook.net/en_US/all.js"></script>
<div id="fb-root"></div>
<script type="text/javascript">
FB.init({
appId:'xxxxxxxxxxx',
cookie:true,
status:true,
xfbml:true,
channelUrl : 'http://<myWebSite>/channel.html',
oauth:true
});
</script>
<fb:login-button registration-url="http://<myWebSite>/register"/>
</body>
</html>
(私は上記置き換えた唯一のものは、ウェブサイトおよびappIDがある)
私はこのようにそれをしようとすると、ログインボタンが現れ、それをクリックしますFireBugはブラウザのログに「Unknown status:undefined」と報告します。私が 'oauth = true'という行を削除しても動作します。私は新しいoauth 2.0標準に準拠しようとしているので、私はそれを残したいと思います。これがバグだったら、かなり早い段階で捕まえられたように見えます。
経由でログインした場合
http://developers.facebook.com/docs/reference/plugins/login/ちょうどチェック。 oauthを削除するとすぐに:trueそれは動作します。 –
ここにバグがあります:https://developers.facebook.com/bugs/223444304375753 – Alistair
愚かなことがありますか?アプリの設定で移行を有効にしましたか? – mitchellhislop