Udostępnij przez


FacebookClientWrapper Klasa

Definicja

Przestroga

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.

Klient umożliwiający interakcję z interfejsem API serwisu Facebook.

[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
Dziedziczenie
FacebookClientWrapper
Atrybuty

Konstruktory

FacebookClientWrapper(FacebookClientWrapperOptions)
Przestarzałe.

Inicjuje nowe wystąpienie klasy FacebookClientWrapper.

Metody

GetAppSecretProof()
Przestarzałe.

Generuje dowód wpisu tajnego aplikacji używany do zwiększania zabezpieczeń wywołań do interfejs Graph API.

PassThreadControlAsync(String, String, String, CancellationToken)
Przestarzałe.

Wysyła zdarzenie elementu webhook pass_thread_control do Facebooka.

PostToFacebookApiAsync(String, String, CancellationToken)
Przestarzałe.

Publikuje zdarzenia sterowania elementem webhook na Facebooku.

RequestThreadControlAsync(String, String, CancellationToken)
Przestarzałe.

Wysyła zdarzenie elementu webhook request_thread_control do Facebooka.

SendMessageAsync(String, FacebookMessage, HttpMethod, CancellationToken)
Przestarzałe.

Wysyła wiadomość REST do Serwisu Facebook.

TakeThreadControlAsync(String, String, CancellationToken)
Przestarzałe.

Wysyła zdarzenie elementu webhook take_thread_control do Facebooka.

VerifySignature(HttpRequest, String)
Przestarzałe.

Sprawdza sygnaturę SHA1 nieprzetworzonego ładunku żądania przed przeanalizowaniem metody bodyParser spowoduje przerwanie analizowania, jeśli podpis jest nieprawidłowy, i przekaże ogólny błąd do odpowiedzi.

VerifyWebhookAsync(HttpRequest, HttpResponse, CancellationToken)
Przestarzałe.

Weryfikuje token weryfikacji z komunikatu. Jeśli token pasuje do skonfigurowanego, wysyła wyzwanie.

Dotyczy