mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-01-10 04:18:47 +02:00
13 lines
563 B
Plaintext
13 lines
563 B
Plaintext
Parameters = GetTwitterAuthData();
|
|
Text = "TestTweet" + String(New UUID);
|
|
|
|
Image1 = "https://api.athenaeum.digital/test_data/picture.jpg"; // URL, Binary Data or Path to file
|
|
Image2 = "https://api.athenaeum.digital/test_data/picture2.jpg"; // URL, Binary Data or Path to file
|
|
|
|
ImageArray = New Array();
|
|
ImageArray.Add(Image1);
|
|
ImageArray.Add(Image2);
|
|
|
|
MediaArray = OPI_Twitter.UploadAttachmentsArray(ImageArray, "tweet_image", Parameters);
|
|
Result = OPI_Twitter.CreateCustomTweet(Text, MediaArray, , , Parameters);
|