Taal

FacebookClientWrapper.PostToFacebookApiAsync Methode

Definitie

Plaatst webhook control-evenementen op 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)

Parameters

postType
String

Het REST-posttype (GET, PUT, POST, enz.).

content
String

De inhoud van de string wordt op Facebook geplaatst.

cancellationToken
CancellationToken

Een annuleringstoken dat kan worden gebruikt door andere objecten of threads om kennisgeving van annulering te ontvangen.

Retouren

true indien de bewerking is geslaagd; anders, false.

Uitzonderingen

postType of content null is.

Van toepassing op