1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-01-24 05:36:29 +02:00
OpenIntegrations/docs/en/examples/Twitter/CreateGifTweet.txt
2024-10-06 21:42:10 +03:00

15 lines
624 B
Plaintext

Parameters = GetTwitterAuthData();
Text = "TestTweet" + String(New UUID);
GIF = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/test_data/animation.gif"; // URL, Binary or Path to file
Gif2 = "https://github.com/Bayselonarrend/OpenIntegrations/raw/main/service/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);