Language

FacebookClientWrapper.PostToFacebookApiAsync メソッド

定義

ウェブフックのコントロールイベントをFacebookに投稿します。

public virtual System.Threading.Tasks.Task<bool> PostToFacebookApiAsync(string postType, string content, System.Threading.CancellationToken cancellationToken);
abstract member PostToFacebookApiAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
override this.PostToFacebookApiAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
Public Overridable Function PostToFacebookApiAsync (postType As String, content As String, cancellationToken As CancellationToken) As Task(Of Boolean)

パラメーター

postType
String

RESTの投稿タイプ(GET、PUT、POSTなど)。

content
String

文字列の内容はFacebookに投稿されます。

cancellationToken
CancellationToken

他のオブジェクトまたはスレッドが取り消し通知を受け取るために使用できるキャンセル トークン。

返品

true 操作が成功した場合。それ以外の場合は false。

例外

postType または content が null です。

適用対象