Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Authentication using Facebook C# SDK

How can I authenticate with a username(email) and password? The samples provided just calls "authorizer.Authorize()" without credentials (which simply throws an "Invalid URI" format exception for me). Do I need an accessToken and if so, how do I get one?

like image 579
BeeGeez Avatar asked Jan 05 '11 23:01

BeeGeez


1 Answers

You cannot authenticate with a username and password. You must use OAuth to authenticate a user. Facebook does not permit application developers to collect usernames and password from users.

like image 159
Nathan Totten Avatar answered Nov 11 '22 15:11

Nathan Totten