how to get facebook account details in asp.net??is that possible to get account details from facebook to my websitei want to access username , email, picture , location, birthdate

if (provider != "facebook") { //do normal oauth } else { FacebookClient client = new FacebookClient(); var loginUrl = client.GetLoginUrl(new { client_id = ConfigurationManager.AppSettings["facebookId"], client_secret = ConfigurationManager.AppSettings["facebookClientSecret"], redirect_uri = redirectUrl, response_type = "code", scope = "email,user_birthday" }); Response.Redirect(loginUrl.AbsoluteUri); }i tried that but face a lot of problem EscapeUriDataStringRfc3986 not found like what provider definition ConfigurationManager.AppSettings["facebookId"]?ConfigurationManager.AppSettings["facebookClientSecret"]??


View Solution