I want to use the “Require application secret” (Require application secret for API server calls) in my facebook application, but if I do this, I get the following error:
(GraphMethodException - # 100) The appsecret_proof parameter is not specified
Description: An unhandled exception occurred during the execution of the current web request. View the stack trace for more information about the error and its occurrence in the code.
Exception Details: Facebook.FacebookApiException: (GraphMethodException - # 100) The appsecret_proof parameter is not 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 figure out how to send it ... do I need to switch to fb.Post?
Also, I am wondering if the SDK has something like "GenereateFaceBookSecret ()"
Thanks in advance.
facebook facebook-graph-api facebook-c # -sdk
Yovav Aug 11 2018-11-15T00: 00Z
source share