Here are the steps to be followed for integrating twitter in an online course.
Insert a text entry field.
When we insert a text entry field, a text variable named “TextEntry” is created automatically.
Insert a button “Tweet“.
Create one numeric variable “Length” with “0” as default value.
var player = GetPlayer();
window.alert(“Your tweet has to many characters”);
window.open(‘http://twitter.com/home?status=’+TextEntry, “myTweet”, “status = 1, height = 300, width = 300, resizable = 1”);
Here, I limit thethe length of the tweet to 140 characters.. If the user enters more than 140 characters then an alert pop-up will be displayed with text “Your tweet has too many characters”.
Now publish and check your output.
Thus, you can integrate Twitter with Articulate Storyline. Hope you find this blog useful. Do share your views.