Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Twitter
#9
i just made a test on xp and it works.
http://twitter.com/deskareas

Function twittertest
Trigger F12     Help - how to add the trigger to the macro
Code:
Copy      Help
spe -1
str txt.getsel

if txt.len>0
,
,tweet txt



Function tweet
Code:
Copy      Help
;/
function $text [$username] [$password]

username="myusername"
password="mypassword"


str user.encrypt(4 _s.from(username ":" password) "" 3)
str status.from("status=" text)
Http h.Connect("twitter.com")
h.Post("statuses/update.xml" status 0 _s.from("Authorization: Basic " user))
pi


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)