FacebookClientWrapper Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Client for interacting with the Facebook API.
public class FacebookClientWrapper
type FacebookClientWrapper = class
Public Class FacebookClientWrapper
- Inheritance
-
FacebookClientWrapper
Constructors
| FacebookClientWrapper(FacebookClientWrapperOptions) |
Initializes a new instance of the FacebookClientWrapper class. |
Methods
| GetAppSecretProof() |
Generates the app secret proof used to increase security on calls to the Graph API. |
| PassThreadControlAsync(String, String, String, CancellationToken) |
Sends the pass_thread_control webhook event to Facebook. |
| PostToFacebookApiAsync(String, String, CancellationToken) |
Posts webhook control events to Facebook. |
| RequestThreadControlAsync(String, String, CancellationToken) |
Sends the request_thread_control webhook event to Facebook. |
| SendMessageAsync(String, FacebookMessage, HttpMethod, CancellationToken) |
Sends a REST message to Facebook. |
| TakeThreadControlAsync(String, String, CancellationToken) |
Sends the take_thread_control webhook event to Facebook. |
| VerifySignature(HttpRequest, String) |
Verifies the SHA1 signature of the raw request payload before bodyParser parses it will abort parsing if signature is invalid, and pass a generic error to response. |
| VerifyWebhookAsync(HttpRequest, HttpResponse, CancellationToken) |
Verifies the verify token from the message. If the token matches the one configured, sends back the challenge. |