1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-03-27 21:48:56 +02:00
OpenIntegrations/docs/en/examples/Twitter/UploadAttachmentsArray.txt
Vitaly the Alpaca (bot) 1ac50e479f Main build (Jenkins)
2024-10-15 10:07:27 +03:00

11 lines
428 B
Plaintext

Parameters = GetTwitterAuthData();
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);
Result = OPI_Twitter.UploadAttachmentsArray(ImageArray, "tweet_image", Parameters);