I want to use "Require App Secret" (Require app secret for server API calls) on my facebook app, But if I do - I'm getting the following error:
(GraphMethodException - #100) No appsecret_proof parameter was specified
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: Facebook.FacebookApiException: (GraphMethodException - #100) No appsecret_proof parameter was specified
Source Error:
Line 801: var fb = new FacebookClient(accessToken); Line 802: Line 803: dynamic facebookInfo = fb.Get("/me?appsecret_proof=" + fb.AppSecret + "&fields=email,birthday,gender"); Line 804: signInInfo.Email = facebookInfo.email; Line 805:
I saw this post, so I'm trying to understand how to send it... do I need to switch to fb.Post ?
Also, I wonder if the SDK does not already have something like "GenereateFaceBookSecret()"
Thanks in advance.