I follow step by step this article
http://www.asp.net/mvc/tutorials/security/using-oauth-providers-with-mvc
but unfortunately i was not able to get Facebook email , birthday and gender.
after heavy search i found out you can solve this problem by adjusting Facebook App
permission that user will be asked for by default.
okay i will tell you how.
by default when you create an App on Facebook they will not return email and gender they just will return
basic info (name , link ...)
if you want get extra data like gender and birthdate you have to change the permission for the application
after i have changed permissions in Facebook i got the data i want from Facebook
hi... i am not getting email and gender as well from your steps.
ReplyDeleteI have changed the code send me your email , i will send u an email with sample.
DeleteI get email from result.UserName with Facebook
ReplyDelete