FacebookClientWrapper Klasse
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Achtung
The Bot Framework Adapters will be deprecated in the next version of the Bot Framework SDK and moved to https://github.com/BotBuilderCommunity/botbuilder-community-dotnet. Please refer to their new location for all future work.
Client zur Interaktion mit der Facebook-API.
[System.Obsolete("The Bot Framework Adapters will be deprecated in the next version of the Bot Framework SDK and moved to https://github.com/BotBuilderCommunity/botbuilder-community-dotnet. Please refer to their new location for all future work.")]
public class FacebookClientWrapper
[<System.Obsolete("The Bot Framework Adapters will be deprecated in the next version of the Bot Framework SDK and moved to https://github.com/BotBuilderCommunity/botbuilder-community-dotnet. Please refer to their new location for all future work.")>]
type FacebookClientWrapper = class
Public Class FacebookClientWrapper
- Vererbung
-
FacebookClientWrapper
- Attribute
Konstruktoren
| Name | Beschreibung |
|---|---|
| FacebookClientWrapper(FacebookClientWrapperOptions) |
Veraltet.
Initialisiert eine neue Instanz der FacebookClientWrapper-Klasse. |
Methoden
| Name | Beschreibung |
|---|---|
| GetAppSecretProof() |
Veraltet.
Erzeugt den App-Geheimnis-Beweis, der zur Erhöhung der Sicherheit bei Aufrufen der Graph-API verwendet wird. |
| PassThreadControlAsync(String, String, String, CancellationToken) |
Veraltet.
Schickt das pass_thread_control Webhook-Event an Facebook. |
| PostToFacebookApiAsync(String, String, CancellationToken) |
Veraltet.
Veröffentlicht Webhook-Kontrollereignisse auf Facebook. |
| RequestThreadControlAsync(String, String, CancellationToken) |
Veraltet.
Schickt das request_thread_control Webhook-Event an Facebook. |
| SendMessageAsync(String, FacebookMessage, HttpMethod, CancellationToken) |
Veraltet.
Schickt eine REST-Nachricht an Facebook. |
| TakeThreadControlAsync(String, String, CancellationToken) |
Veraltet.
Sendet das take_thread_control Webhook-Event an Facebook. |
| VerifySignature(HttpRequest, String) |
Veraltet.
Verifiziert die SHA1-Signatur des Rohanfrage-Payloads, bevor bodyParser es pars, wird das Parsing abgebrochen, falls die Signatur ungültig ist, und einen generischen Fehler an die Antwort weitergeben. |
| VerifyWebhookAsync(HttpRequest, HttpResponse, CancellationToken) |
Veraltet.
Verifiziert das Verify-Token aus der Nachricht. Wenn der Token mit dem konfigurierten übereinstimmt, wird die Herausforderung zurückgesendet. |