2024-10-05 10:21:35 +02:00
|
|
|
Parameters = GetTwitterAuthData();
|
|
|
|
Text = "TestTweet" + String(New UUID);
|
|
|
|
|
2024-10-12 14:46:40 +02:00
|
|
|
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
|
2024-10-05 10:21:35 +02:00
|
|
|
|
|
|
|
ImageArray = New Array();
|
|
|
|
ImageArray.Add(Image1);
|
|
|
|
ImageArray.Add(Image2);
|
|
|
|
|
2024-10-13 00:21:47 +02:00
|
|
|
MediaArray = OPI_Twitter.UploadAttachmentsArray(ImageArray, "tweet_image", Parameters);
|
2024-10-05 13:42:31 +02:00
|
|
|
Result = OPI_Twitter.CreateCustomTweet(Text, MediaArray, , , Parameters);
|