1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-05-31 23:20:02 +02:00
OpenIntegrations/docs/en/md/Twitter/Tweets/Create-text-tweet.md
2024-09-29 17:27:25 +03:00

848 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 Auth data or path to .json file

Returns: Map Of KeyAndValue - serialized JSON response from Twitter


    Parameters = GetTwitterAuthData();
    Text       = "TestTweet" + String(New UUID);

    Result = OPI_Twitter.CreateTextTweet(Text, Parameters);
    
  oint twitter CreateTextTweet --text %text% --auth %auth%