|
Medakan Novice
Joined: 15 Dec 2015 Posts: 41 Location: Seattle
|
Posted: Tue Dec 15, 2015 5:50 pm
Capture a Twitter feed into a zMUD window |
Mud that I play has been using Twitter to send out messages and I would like to try and script a way for these messages to be captured and placed in a zMUD window. Anyone have any ideas of how to go about doing this?
Thanks!
Taziar Medakan @ WoTmud |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Wed Dec 16, 2015 3:15 am |
I don't use twitter myself, but it is fully web based instead of having a program, no?
That might make it hard to establish a direct COM connection.
You might have better luck using CMUD, but the issue is still going to be how are you going to retrieve the twitter data.
Once you have it, printing it is easy. |
|
_________________ Discord: Shalimarwildcat |
|
|
|
Edogg Beginner
Joined: 27 Feb 2011 Posts: 17
|
Posted: Sun Dec 20, 2015 4:07 pm |
#script {strHTML = ~”~”} #script {Sub getHTML:Set objHTTP = CreateObject~(~”MSXML2.ServerXMLHTTP~”):objHTTP.Open ~”GET~”, ~”http:~/~/www.twittergoes here.com?%time( hhnnss)~”, ~”FALSE~”:objHTTP.Send:strHTML = objHTTP.ResponseText:Set objHTTP = Nothing:End Sub} #mss {getHTML} #show %mss( strHTML)
|
|
|
|
|
|