Taal

FacebookClientWrapper Klas

Definitie

Let op

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

Name Description
FacebookClientWrapper(FacebookClientWrapperOptions)
Verouderd.

Initialiseert een nieuw exemplaar van de FacebookClientWrapper klasse.

Methoden

Name Description
GetAppSecretProof()
Verouderd.

Genereert het app-geheimbewijs dat wordt gebruikt om de beveiliging van aanroepen naar de Graph API te verhogen.

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

Stuurt het pass_thread_control webhook-evenement naar Facebook.

PostToFacebookApiAsync(String, String, CancellationToken)
Verouderd.

Plaatst webhook control-evenementen op Facebook.

RequestThreadControlAsync(String, String, CancellationToken)
Verouderd.

Stuurt het request_thread_control webhook-evenement naar Facebook.

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

Stuurt een REST-bericht naar Facebook.

TakeThreadControlAsync(String, String, CancellationToken)
Verouderd.

Stuurt het take_thread_control webhook-evenement naar Facebook.

VerifySignature(HttpRequest, String)
Verouderd.

Controleer de SHA1-handtekening van de ruwe verzoekpayload voordat bodyParser deze parsen en stopt met parsen als handtekening ongeldig is, en geeft een generieke fout door aan het antwoord.

VerifyWebhookAsync(HttpRequest, HttpResponse, CancellationToken)
Verouderd.

Verifieert het verificatietoken uit het bericht. Als de token overeenkomt met de geconfigureerde, stuurt de uitdaging terug.

Van toepassing op