Jaa


FacebookClientWrapperOptions(String, String, String, String, String) Constructor

Definition

Initializes a new instance of the FacebookClientWrapperOptions class.

public FacebookClientWrapperOptions (string verifyToken, string appSecret, string accessToken, string apiHost = "graph.facebook.com", string apiVersion = "v3.2");
new Microsoft.Bot.Builder.Adapters.Facebook.FacebookClientWrapperOptions : string * string * string * string * string -> Microsoft.Bot.Builder.Adapters.Facebook.FacebookClientWrapperOptions
Public Sub New (verifyToken As String, appSecret As String, accessToken As String, Optional apiHost As String = "graph.facebook.com", Optional apiVersion As String = "v3.2")

Parameters

verifyToken
String

The token used to validate that incoming webhooks are originated from Facebook.

appSecret
String

The app secret.

accessToken
String

The Facebook access token.

apiHost
String

A token for validating the origin of incoming webhooks.

apiVersion
String

A token for a bot to work on a single workspace.

Applies to