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

15 lines
563 B
Plaintext
Raw Normal View History

2024-09-21 09:57:02 +02:00
 Parameters = GetTwitterAuthData();
Text = "TestTweet" + String(New UUID);
2024-10-15 09:07:27 +02:00
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
2024-09-21 09:57:02 +02:00
ImageArray = New Array;
ImageArray.Add(Image);
ImageArray.Add(Image2);
Result = OPI_Twitter.CreateImageTweet(Text, ImageArray, Parameters);
2024-09-21 21:23:55 +02:00
Text = "TestTweet" + String(New UUID);
2024-09-21 09:57:02 +02:00
Result = OPI_Twitter.CreateImageTweet(Text, Image, Parameters);