I can authenticate Facebook for desktop application using web browser control. But I want to log in without the browser. Email and password will be given through windows form.I’ve searched a lot, but found nothing on this.
Many people saying that it’s not possible, facebook won’t allow for privacy policy. But applications like tweet deck or nimbuzz are doing that. So I think it’s possible.
I want to use Facebook’s Latest C# sdk.
It is not possible. See this link:
https://developers.facebook.com/docs/authentication/
To quote from that link:
The reason that this is not possible is that facebook uses the OAuth protocol. More details on the OAuth protocol can be found at:
https://www.rfc-editor.org/rfc/rfc5849
The fundamental motivation behind OAuth is so that the resource that needs authorization does not need to know the credentials/identity of users.
What you are proposing (taking in the clients username/password) goes against the fundamental tenets of the OAuth protocol and you cannot (at least legally) achieve this with facebook.