[英]facebook api - get email with <fb:>
我有臉書:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>head</title>
</head>
<body>
<h1>head</h1>
<p><fb:login-button autologoutlink="true"></fb:login-button></p>
<p><fb:like></fb:like></p>
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({appId: '111111111111', status: true, cookie: true,
xfbml: true});
};
(function() {
var e = document.createElement('script');
e.type = 'text/javascript';
e.src = document.location.protocol +
'//connect.facebook.net/en_US/all.js';
e.async = true;
document.getElementById('fb-root').appendChild(e);
}());
</script>
</body>
</html>
我必須在獲取電子郵件地址的內容中進行什么編輯? 我必須使用庫facebook.php並使用變量$ loginUrl和$ logoutUrl登錄和注銷? 我想用
<p><fb:login-button autologoutlink="true"></fb:login-button></p>
沒有通過xfbml獲取電子郵件的已知方法。
<fb:login-button autologoutlink="true" scope="email"></fb:login-button>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.