Click or drag to resize
TwitterHelperPublishTweetInternal Method
Publishes the new tweet on the Twitter channel and returns the Twitter's tweet ID.

Namespace: CMS.SocialMarketing
Assembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 10.0.0
Syntax
C#
protected virtual string PublishTweetInternal(
	string consumerKey,
	string consumerSecret,
	string accessToken,
	string accessTokenSecret,
	string postText
)

Parameters

consumerKey
Type: SystemString
The consumer key that will be used for authentication.
consumerSecret
Type: SystemString
The consumer secret that will be used for authentication.
accessToken
Type: SystemString
The access token that will be used for authentication.
accessTokenSecret
Type: SystemString
The access token secret that will be used for authentication.
postText
Type: SystemString
Text that will be published.

Return Value

Type: String
Twitter identifier of the new tweet.
See Also