Språk

FacebookClientWrapper Klass

Definition

Varning

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 för att interagera med Facebooks 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
Arv
FacebookClientWrapper
Attribut

Konstruktorer

Name Description
FacebookClientWrapper(FacebookClientWrapperOptions)
Föråldrad.

Initierar en ny instans av FacebookClientWrapper klassen.

Metoder

Name Description
GetAppSecretProof()
Föråldrad.

Genererar apphemlighetsbeviset som används för att öka säkerheten vid anrop till Graph API.

PassThreadControlAsync(String, String, String, CancellationToken)
Föråldrad.

Skickar det pass_thread_control webhook-eventet till Facebook.

PostToFacebookApiAsync(String, String, CancellationToken)
Föråldrad.

Lägger upp webhook-kontrollhändelser på Facebook.

RequestThreadControlAsync(String, String, CancellationToken)
Föråldrad.

Skickar det request_thread_control webhook-evenemanget till Facebook.

SendMessageAsync(String, FacebookMessage, HttpMethod, CancellationToken)
Föråldrad.

Skickar ett REST-meddelande till Facebook.

TakeThreadControlAsync(String, String, CancellationToken)
Föråldrad.

Skickar det take_thread_control webhook-eventet till Facebook.

VerifySignature(HttpRequest, String)
Föråldrad.

Verifierar SHA1-signaturen för råa begäransökningspayloaden innan bodyParser analyserar det, kommer den att avbryta parsing om signaturen är ogiltig och skicka ett generiskt fel till svaret.

VerifyWebhookAsync(HttpRequest, HttpResponse, CancellationToken)
Föråldrad.

Verifierar verifieringstoken från meddelandet. Om tokenen matchar den konfigurerade, skickas utmaningen tillbaka.

Gäller för