語言

FacebookClientWrapper 類別

定義

警告

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.

用於與 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
繼承
FacebookClientWrapper
屬性

建構函式

名稱 Description
FacebookClientWrapper(FacebookClientWrapperOptions)
已淘汰.

初始化 FacebookClientWrapper 類別的新執行個體。

方法

名稱 Description
GetAppSecretProof()
已淘汰.

產生用於提升 圖形 API 呼叫安全性的應用程式祕密證明。

PassThreadControlAsync(String, String, String, CancellationToken)
已淘汰.

將pass_thread_control webhook 事件傳送到 Facebook。

PostToFacebookApiAsync(String, String, CancellationToken)
已淘汰.

將 webhook 控制事件發佈到 Facebook。

RequestThreadControlAsync(String, String, CancellationToken)
已淘汰.

將request_thread_control webhook 事件發送到 Facebook。

SendMessageAsync(String, FacebookMessage, HttpMethod, CancellationToken)
已淘汰.

向 Facebook 發送 REST 訊息。

TakeThreadControlAsync(String, String, CancellationToken)
已淘汰.

將take_thread_control webhook 事件傳送到 Facebook。

VerifySignature(HttpRequest, String)
已淘汰.

在 bodyParser 解析前,驗證原始請求有效載荷的 SHA1 簽名,若簽名無效,則中止解析,並傳出通用錯誤給回應。

VerifyWebhookAsync(HttpRequest, HttpResponse, CancellationToken)
已淘汰.

驗證訊息中的驗證令牌。 如果代幣與設定中的代幣相符,則會返回挑戰。

適用於