FacebookClientWrapper Classe
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Attenzione
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 per interagire con l'API di 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
- Ereditarietà
-
FacebookClientWrapper
- Attributi
Costruttori
| Nome | Descrizione |
|---|---|
| FacebookClientWrapper(FacebookClientWrapperOptions) |
Obsoleti.
Inizializza una nuova istanza della classe FacebookClientWrapper. |
Metodi
| Nome | Descrizione |
|---|---|
| GetAppSecretProof() |
Obsoleti.
Genera la prova del segreto dell'app usata per aumentare la sicurezza delle chiamate alla API Graph. |
| PassThreadControlAsync(String, String, String, CancellationToken) |
Obsoleti.
Invia l'evento webhook pass_thread_control su Facebook. |
| PostToFacebookApiAsync(String, String, CancellationToken) |
Obsoleti.
Pubblica eventi di controllo webhook su Facebook. |
| RequestThreadControlAsync(String, String, CancellationToken) |
Obsoleti.
Invia l'evento webhook request_thread_control su Facebook. |
| SendMessageAsync(String, FacebookMessage, HttpMethod, CancellationToken) |
Obsoleti.
Invia un messaggio REST a Facebook. |
| TakeThreadControlAsync(String, String, CancellationToken) |
Obsoleti.
Invia l'evento take_thread_control webhook su Facebook. |
| VerifySignature(HttpRequest, String) |
Obsoleti.
Verifica la firma SHA1 del payload grezzo della richiesta prima che bodyParser analizzi, interromperà l'analisi se la firma è invalida e passerà un errore generico alla risposta. |
| VerifyWebhookAsync(HttpRequest, HttpResponse, CancellationToken) |
Obsoleti.
Verifica il token di verifica dal messaggio. Se il gettone corrisponde a quello configurato, restituisce la sfida. |