Język

FacebookClientWrapper Klasa

Definicja

Uwaga

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 do interakcji z API Facebooka.

[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

Nazwa Opis
FacebookClientWrapper(FacebookClientWrapperOptions)
Przestarzałe.

Inicjuje nowe wystąpienie klasy FacebookClientWrapper.

Metody

Nazwa Opis
GetAppSecretProof()
Przestarzałe.

Generuje dowód sekretu aplikacji używany do zwiększenia bezpieczeństwa wywołań do interfejs Graph API.

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

Wysyła wydarzenie z pass_thread_control webhookiem na Facebooka.

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

Publikuje zdarzenia sterujące webhookami na Facebooku.

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

Wysyła zdarzenie z request_thread_control webhookiem na Facebooka.

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

Wysyła wiadomość REST na Facebooka.

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

Wysyła wydarzenie webhook take_thread_control na Facebooka.

VerifySignature(HttpRequest, String)
Przestarzałe.

Weryfikuje sygnaturę SHA1 surowego ładunku żądania, zanim bodyParser zarejestruje, że przerwie parsowanie, jeśli podpis jest nieprawidłowy, i przekaże generyczny błąd do odpowiedzi.

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

Weryfikuje token weryfikacyjny na podstawie wiadomości. Jeśli token odpowiada skonfigurowanemu, odchodzi wyzwanie.

Dotyczy