fetching access token using facebook authentication

Sep 3, 2010 at 3:17 AM


I am new to facebook authetication and API.I am creating a console apps to fetch the authentication token by passing appid,app secret key,user name and password.Now its redirecting to broswer and asking to enter the user name and password manuaaly.

But i dont want to open broswer and enter manually anthting.Please let me now how to do this.I am coing in C#.

Please help.