Partilhar via


FacebookClientWrapper Classe

Definição

Atenção

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.

Cliente para interagir com a API do 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
Herança
FacebookClientWrapper
Atributos

Construtores

FacebookClientWrapper(FacebookClientWrapperOptions)
Obsoleto.

Inicializa uma nova instância da FacebookClientWrapper classe.

Métodos

GetAppSecretProof()
Obsoleto.

Gera a prova de segredo da aplicação utilizada para aumentar a segurança nas chamadas para o Graph API.

PassThreadControlAsync(String, String, String, CancellationToken)
Obsoleto.

Envia o pass_thread_control evento webhook para o Facebook.

PostToFacebookApiAsync(String, String, CancellationToken)
Obsoleto.

Publica eventos de controlo de webhook no Facebook.

RequestThreadControlAsync(String, String, CancellationToken)
Obsoleto.

Envia o evento request_thread_control webhook para o Facebook.

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

Envia uma mensagem REST para o Facebook.

TakeThreadControlAsync(String, String, CancellationToken)
Obsoleto.

Envia o evento take_thread_control webhook para o Facebook.

VerifySignature(HttpRequest, String)
Obsoleto.

Verifica a assinatura SHA1 do payload de pedido não processado antes de bodyParser analisar que irá abortar a análise se a assinatura for inválida e transmitir um erro genérico à resposta.

VerifyWebhookAsync(HttpRequest, HttpResponse, CancellationToken)
Obsoleto.

Verifica o token de verificação da mensagem. Se o token corresponder ao configurado, envia de volta o desafio.

Aplica-se a