1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-12-03 22:39:12 +02:00
Files
OpenIntegrations/docs/en/examples/Twitter/CreateVideoTweet.txt

15 lines
546 B
Plaintext
Raw Normal View History

2024-09-21 10:57:02 +03:00
 Parameters = GetTwitterAuthData();
Text = "TestTweet" + String(New UUID);
2024-09-25 20:45:54 +03:00
Video = OPI_TestDataRetrieval.GetParameter("Video"); // URL, Binary or Path to file
Video2 = OPI_TestDataRetrieval.GetParameter("Video"); // URL, Binary or Path to file
2024-09-21 10:57:02 +03:00
VideosArray = New Array;
VideosArray.Add(Video);
VideosArray.Add(Video2);
Result = OPI_Twitter.CreateVideoTweet(Text, VideosArray, Parameters);
2024-09-21 22:23:55 +03:00
Text = "TestTweet" + String(New UUID);
2024-09-21 10:57:02 +03:00
Result = OPI_Twitter.CreateVideoTweet(Text, Video, Parameters);