Delen via


FacebookClientWrapper Klas

Definitie

Waarschuwing

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 voor interactie met de 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
Overname
FacebookClientWrapper
Kenmerken

Constructors

FacebookClientWrapper(FacebookClientWrapperOptions)
Verouderd.

Initialiseert een nieuw exemplaar van de FacebookClientWrapper klasse.

Methoden

GetAppSecretProof()
Verouderd.

Hiermee genereert u het bewijs van het app-geheim dat wordt gebruikt om de beveiliging van aanroepen naar de Graph API te verbeteren.

PassThreadControlAsync(String, String, String, CancellationToken)
Verouderd.

Hiermee wordt de pass_thread_control webhook-gebeurtenis naar Facebook verzonden.

PostToFacebookApiAsync(String, String, CancellationToken)
Verouderd.

Plaatst webhookbeheersevenementen op Facebook.

RequestThreadControlAsync(String, String, CancellationToken)
Verouderd.

Hiermee wordt de request_thread_control webhook-gebeurtenis naar Facebook verzonden.

SendMessageAsync(String, FacebookMessage, HttpMethod, CancellationToken)
Verouderd.

Hiermee wordt een REST-bericht naar Facebook verzonden.

TakeThreadControlAsync(String, String, CancellationToken)
Verouderd.

Hiermee wordt de take_thread_control webhook-gebeurtenis naar Facebook verzonden.

VerifySignature(HttpRequest, String)
Verouderd.

Controleert de SHA1-handtekening van de nettolading van de onbewerkte aanvraag voordat bodyParser parseert. De parsering wordt afgebroken als de handtekening ongeldig is en geeft een algemene fout door aan het antwoord.

VerifyWebhookAsync(HttpRequest, HttpResponse, CancellationToken)
Verouderd.

Controleert het verificatietoken van het bericht. Als het token overeenkomt met het geconfigureerde token, wordt de uitdaging teruggestuurd.

Van toepassing op