简体   繁体   English

用户通过asp.net登录到Facebook时如何阅读或保存其电子邮件?

[英]How to read or save the email of the user when he logged in to facebook through asp.net?

在这种情况下,我完全空白。

First make sure that you are authorized to get the user's email with the email permission. 首先,请确保您被授权获得具有电子邮件许可权的用户电子邮件

Here's an example using the Branches FB API : 这是使用Branches FB API的示例:

Dim FB As New SessionInfo("[access_token]")
Dim Req = New Functions.Requests(FB)
Dim U = Req.GetUserInfo()
Response.Write(U.email)

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 当用户登录网站到asp.net中asp.net的下一页时,如何显示用户的信息? - How can i show info of user when he logged in into website onto next page for asp.net in asp.net? 如何在ASP.NET中使用LoggedOut时终止用户会话 - How to kill the Session of User when he LoggedOut in ASP.NET 如果用户使用 ASP .Net Identity 通过外部登录提供程序登录,如何保存用户上次登录日期? - How to save user last login date if he was logged in with external login provider using ASP .Net Identity? 如何在ASP.NET MVC 4中检查已登录的Facebook用户? - How to check logged in facebook user in ASP.NET MVC 4? 如何在ASP.NET核心确认用户email后才改变用户的Email - How to change user's Email in ASP.NET core only after he confirmed his email 通过ASP.Net网站管理将电子邮件发送到“提交”到登录用户的电子邮件 - Send an email on Submit to the email of logged in user through ASP.Net Website Administration 您如何判断用户是否已在ASP.NET用户控件中登录到Facebook Connect? - How do you tell if a user has logged in to Facebook Connect in a ASP.NET User control? 当用户取消选中Asp.net中的checkboxlist控件时如何响应 - How to response the user when he uncheck the checkboxlist control in Asp.net ASP.NET MVC4获取登录用户的电子邮件 - ASP.NET MVC4 Get email of logged user 当用户使用ASP.net MVC注销时收到通知 - notified when a user becomes logged out with an ASP.net MVC
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM