1
Q
使用C#ASPX
A
回答
0
我創造了這個代碼。希望它能幫助你;它適用於我,並在登錄後獲得電子郵件。
<fb:login-button autologoutlink="true" perms="email,user_birthday,status_update,publish_stream"></fb:login-button>
Script代碼是:
FB.login(function(response) {
if (response.authResponse) {
console.log('Welcome! Fetching your information.... ');
FB.api('/me', function(response) {
alert(response.email);
});
FB.logout(function(response) {
console.log('Logged out.');
});
});
} else {
console.log('User cancelled login or did not fully authorize.');
}
}, {scope: 'email'});
2
你需要的是here
相關問題
- 1. 從ASPX/C#頁,使用SSL
- 2. 如何使用ASPX C#
- 3. ASP.NET使用ASPX
- 4. xsp npgsql C#.aspx
- 5. FileUpload iphone c#aspx
- 6. C#ASPX用連接Npgsql的
- 7. 使用C#從一個.aspx頁面重定向到另一個.aspx頁面使用C#
- 8. ASPX/c#vs Java EE
- 9. C#ASPX用戶不工作的ASPX身份模擬/ ConnectionString
- 10. 使用.asp和.aspx頁面
- 11. 使用jQuery .load()的ASPX
- 12. 使用AJAX與aspx後端?
- 13. 使用Ajax TP aspx頁面
- 14. 使用Python刮* .aspx內容
- 15. 如何使用MVC(aspx).net
- 16. ASPX VSFTPD C#幫助createing用戶
- 17. 用aspx填充gridview的C#代碼
- 18. 如何用C#對象ASPX文件
- 19. 用C編輯Aspx網站模板#
- 20. 從我的ASPX頁面調用C#類
- 21. 從aspx代碼調用C#函數
- 22. ASPX C#在Active Directory中搜索用戶
- 23. fancyBox和aspx c#集成
- 24. ASPX C#頁面超時
- 25. asp.net c#aspx if statements not working
- 26. 如何在.ASPX文件中聲明和使用C#對象?
- 27. 如何使用C#將.aspx轉換爲pdf?
- 28. 在c#中無法使用文本框aspx
- 29. 使用c創建預填充aspx文件#
- 30. 使用剃刀(cshtml)共享模板site.master aspx(c#)
[獲取用戶的電子郵件與facebook C#SDK]的可能重複(http://facebook.stackoverflow.com/questions/6672127/getting-user-電子郵件,與Facebook的-C-SDK) – bkaid