How to get EmailAddress of login User

Dec 1, 2010 at 11:58 AM

hi ,

Please let me know is there any way to get the EmailAddress of  faceBook user which is Currently logged in.

i am using the Facebook api.

i am using the following Code and DLL for getting loged in  user info.

using Facebook.Rest;
using Facebook.Session;
using Facebook.Schema;

API.Users.GetInfo();

but it is not providing 'email' Property to access the email address of the user.

but it is providing me  the 'email_hashes' property.

using this API.Users.GetInfo(); method we get null value of this 'email_hashes'. so how do we get the email address of the log in user. 

Thanks in advance

Rajat

 

 


 


 

 

Dec 3, 2010 at 4:40 PM

Dude you need to search the past discussions on this.  It comes up over and over.  Last person to ask (and have this answered) was just a week or so ago!

Hint:  you need the email extended permission.