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

15 lines
563 B
Plaintext

Parameters = GetTwitterAuthData();
Text = "TestTweet" + String(New UUID);
Image = "https://api.athenaeum.digital/test_data/picture.jpg"; // URL, Binary or Path to file
Image2 = "https://api.athenaeum.digital/test_data/picture2.jpg"; // URL, Binary or Path to file
ImageArray = New Array;
ImageArray.Add(Image);
ImageArray.Add(Image2);
Result = OPI_Twitter.CreateImageTweet(Text, ImageArray, Parameters);
Text = "TestTweet" + String(New UUID);
Result = OPI_Twitter.CreateImageTweet(Text, Image, Parameters);