1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-26 05:37:27 +02:00
OpenIntegrations/docs/en/examples/Twitter/CreateGifTweet.txt
Vitaly the Alpaca (bot) 4343adce62 Main build (Jenkins)
2024-10-15 10:07:27 +03:00

15 lines
548 B
Plaintext

Parameters = GetTwitterAuthData();
Text = "TestTweet" + String(New UUID);
GIF = "https://api.athenaeum.digital/test_data/animation.gif"; // URL, Binary or Path to file
Gif2 = "https://api.athenaeum.digital/test_data/animation.gif"; // URL, Binary or Path to file
GifsArray = New Array;
GifsArray.Add(GIF);
GifsArray.Add(Gif2);
Result = OPI_Twitter.CreateGifTweet(Text, GifsArray, Parameters);
Text = "TestTweet" + String(New UUID);
Result = OPI_Twitter.CreateGifTweet(Text, GIF, Parameters);