Click here to Skip to main content
15,915,160 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted
Updated 3-Oct-11 18:38pm
v3

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
 
Share this answer
 
Comments
padharia dipti 30-Sep-11 9:16am    
thanks for reply...i already seen this links and retrive details using this links only...but still the problem is that in this links also they did not provide info to get email id from login facebook user.
Muralikrishna8811 30-Sep-11 9:20am    
Maybe they intend to hide login credentials.

B'coz providing API is not a simple thing.
one more thing is you can get pwd with that id and retrieved information
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 
 
Share this answer
 
Comments
padharia dipti 4-Oct-11 1:00am    
thanks for reply..its gives an error on item.email.
its not working..please give me another solution plz.
Anuja Pawar Indore 4-Oct-11 3:12am    
You'll have to prompt your users to grant the email permission. Then you'll be able to pull the email field in the same API call that you get their name and basic info.
bbirajdar 15-Oct-11 14:34pm    
Anuja is right. I vote her up.
Anuja Pawar Indore 17-Oct-11 2:27am    
Thanks Balaji
Email ids of facebook user are private by default. You need to ask for extended permission to get facebook users email id.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900