简体   繁体   中英

Facebook c# mvc4 retrieve password?

I got all information I need for a facebook registration to my database, except a password. How is the user going to get registered if I cant get access to their password? any ideas?

newUser.Alias = User.FbEmail;
newUser.UserName = User.FbEmail;
newUser.EMail = User.FbEmail;
newUser.Password = "password";
newUser.BirthDate = _defaultNoDate;

You will never get a password from Facebook Api. Facebook provides you with an Access Token that allows you to handle your user information

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM