sir
i want reuse facebook access token that we get as query string named "code"
but there are error to reuse it or refresh of page
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Net.WebException: The remote server returned an error: (400) Bad Request. Source Error:
Line 28: //Labelwelcome.Text = faceBookUser.Name; Line 29: Line 30: string data = FaceBookConnect.Fetch(code, "me/friends"); Line 31: //Response.Cookies["name"].Value = id; Line 32: FaceBookData facebookData = new JavaScriptSerializer().Deserialize<FaceBookData>(data);
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.