TwitterHelperPublishTweet Method |
Publishes the new tweet on the Twitter channel and returns the Twitter's tweet ID.
Namespace: CMS.SocialMarketingAssembly: CMS.SocialMarketing (in CMS.SocialMarketing.dll) Version: 12.0.0
Syntax public static string PublishTweet(
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:
StringTwitter identifier of the new tweet.
See Also