You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-05-22 10:05:29 +02:00
976 B
976 B
sidebar_position
| sidebar_position |
|---|
| 1 |
Create text tweet
Creates a tweet without attachments
Function CreateTextTweet(Val Text, Val Parameters = "") ExportReturn CreateCustomTweet(Text, , , , Parameters);EndFunction
| Parameter | CLI option | Type | Description |
|---|---|---|---|
| Text | --text | String | Tweet text |
| Parameters | --auth | Structure Of String | Authorization JSON or path to .json |
Returns: Map Of KeyAndValue - serialized JSON response from Twitter
Response = OPI_Twitter.CreateTextTweet("Regular text tweet", Parameters);
Response = OPI_Tools.JSONString(Response);
oint twitter CreateTextTweet --text %text% --auth %auth%
{
"data": {
"text": "Regular text tweet",
"id": "1745752006310895822",
"edit_history_tweet_ids": [
"1745752006310895822"
]
}
}