FacebookClientWrapper Classe
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Cuidado
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
| Nome | Description |
|---|---|
| FacebookClientWrapper(FacebookClientWrapperOptions) |
Obsoleto.
Inicializa uma nova instância da classe FacebookClientWrapper. |
Métodos
| Nome | Description |
|---|---|
| GetAppSecretProof() |
Obsoleto.
Gera a prova de segredo do aplicativo usada para aumentar a segurança das chamadas para a API do Graph. |
| PassThreadControlAsync(String, String, String, CancellationToken) |
Obsoleto.
Envia o evento pass_thread_control webhook para o Facebook. |
| PostToFacebookApiAsync(String, String, CancellationToken) |
Obsoleto.
Publica eventos de controle de webhooks 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 da carga útil bruta da requisição antes do bodyParser analisar, ela abortará a análise se a assinatura for inválida e passará um erro genérico para a resposta. |
| VerifyWebhookAsync(HttpRequest, HttpResponse, CancellationToken) |
Obsoleto.
Verifica o token de verificação da mensagem. Se o token corresponder ao configurado, o desafio retorna. |