Documentation > CMS Template API Library > Util > PostToTwitter(Int32,String,String,String)
PostToTwitter
Post the content stored in the given asset from the field with the given name to the accoutn specified by account id.
public System.String PostToTwitter(Int32,String,String,String)
Parameters
| Name | Description | Type |
|---|---|---|
| assetid | The asset id to post | System.Int32 |
| postFieldName | The name of the field to post | System.String |
| postOverrideName | Name of field that tells whether to post again even if already published. A value of "yes" will cause the override | System.String |
| accountId | Twitter Account name | System.String |