0
私は以下の完全なコードを使用して自分のサイトにユーザーを登録しています。登録時に必要な権限はどこで指定しますか?私はfields変数の前に置いてみて、何もしなかった。ありがとう。登録時にFacebookのスコープを指定する方法
<?php
define('APP_ID',"848483");
define("REDIRECT_URL","some url");
ECHO'
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta content="noarchive" NAME="robots">
<meta name="robots" content="noindex,nofollow">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<iframe src="https://www.facebook.com/plugins/registration.php?
client_id='.APP_ID.'&
redirect_uri='.REDIRECT_URL.'&
fields=
'."
[{'name':'name'},{'name':'email'},{'name':'username','description':'my site username','type':'text'},{'name':'password'}]".'"
scrolling="auto"
frameborder="no"
style="border:none"
allowTransparency="true"
width="100%"
height="330">
</iframe>
</body>
</html>
';
?>
:「ユーザーがこれを実行するためのアプリケーションを許可していませんアクション " –
誰かがどのようにFacebookの許可をリクエストする方法のアイデアを持っていますか?私はこのリンクを使用しています。http://developers.facebook.com/docs/plugins/registration/ –