AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Twitter

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
leighj



Joined: 28 Mar 2007
Posts: 1

PostPosted: Wed Mar 28, 2007 4:05 pm    Post subject: Twitter Reply with quote

Anyone use Twitter? This is a QUICK AND SIMPLE way to post a Status...

Bound to Window - T (can be changed)
BUT you must install CURL and YES there are Windows Binaries. I installed it and my path goes to it.
Replace USERNAME:PASSWORD
Code:
#t::
InputBox, Status, Twitter, Enter Twitter Status
Run curl --basic --user USERNAME:PASSWORD --data status="%Status%" http://twitter.com/statuses/update.xml,,Hide

Since it is authenticated it does NOT use a POST method. And the output is discarded in a hidden window...
A nice quick and easy script for a quick and easy app...
http://twitter.com/leighj
Back to top
View user's profile Send private message AIM Address
xXja50nXx as a guest
Guest





PostPosted: Thu Jul 19, 2007 3:12 pm    Post subject: Reply with quote

Cool script, Thanks for sharing.
Back to top
Guest






PostPosted: Thu Jul 02, 2009 8:21 pm    Post subject: Reply with quote

Code:
curl -u username:password -d “status=Hello” http://twitter.com/statuses/update.xml

www.twitter.com/autohotkey
Back to top
badmojo



Joined: 11 Nov 2005
Posts: 189

PostPosted: Sat Jul 04, 2009 11:23 am    Post subject: Reply with quote

can curl handle unicode like polish characters?
Back to top
View user's profile Send private message
Guest






PostPosted: Sun Jul 05, 2009 4:20 pm    Post subject: Reply with quote

badmojo wrote:
can curl handle unicode like polish characters?


Curl can with the appropriate encoding, I'm not sure about if Autohotkey can pass unicode text to it, though.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group