在vb.net应用程序中从FaceBook登录中检索电子邮件ID [英] Retrive Email Id from FaceBook Login in vb.net application
问题描述
朋友,
我想将Facebook与vb中的.net应用程序集成.
我想使用Facebook登录名作为我的应用程序的开放ID登录名.
我到达了用fb登录并获得了我的Facebook个人资料的所有基本信息.
但是我仍然没有从Facebook检索到我的用户信息详细信息中的facebook登录ID(意味着Facebook登录电子邮件ID).
我使用此链接进入此阶段.
http://devtacular.com/articles/bkonrad/how-to-retrieve-user-data-from-facebook-connect-in-aspnet/
现在我想从中获得更多信息.
请帮我解决这个问题.
我得到名字,姓氏等,但是我想要Facebook登录名或主要电子邮件地址的电子邮件ID.
在此先感谢
Hi Friends,
I want to integrate Facebook with my .net application which is in vb.
i want to use facebook login as open id login to my application.
i reached to login with fb and get all basic information of my facebook profile.
but still i do not get facebook login id(means facebook login email id) in my user information detail retrive from facebook.
I used this link to come to this stage.
http://devtacular.com/articles/bkonrad/how-to-retrieve-user-data-from-facebook-connect-in-aspnet/
now i want some more information from this.
Please help me out to solve this.
i get first name, last name and etc. but i want email id of facebook login or primary email address.
Thanks in advance
推荐答案
在这里,我提供了一些有关FaceBook API的完整链接.
一次检查一次.
http://devtacular.com/articles/bkonrad /how-to-to-retrieve-user-data-from-facebook-connect-in-aspnet/
还有
http://www.codeproject.com/KB/aspnet/fb_connect_asp_net.aspx
希望这些链接对您有所帮助
最好的
Hi,
Here I''m providing some links full details of FaceBook API.
Check these once.
http://devtacular.com/articles/bkonrad/how-to-retrieve-user-data-from-facebook-connect-in-aspnet/
And
http://www.codeproject.com/KB/aspnet/fb_connect_asp_net.aspx
I hope these links are helpfull to you
All the Best
autheticate first
For Each item As Facebook.Schema.user In api.Friends.GetUserObjects Console.Writeln("uid: {0}", item.uid)
Console.Writeln("picture: {0}", item.pic_small)
Console.Writeln("first name: {0}", item.first_name)
Console.Writeln("Email: {0}", item.Email) Next
facebook用户的电子邮件ID默认情况下是私有的.您需要请求扩展权限才能获取Facebook用户的电子邮件ID.
Email ids of facebook user are private by default. You need to ask for extended permission to get facebook users email id.
这篇关于在vb.net应用程序中从FaceBook登录中检索电子邮件ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!