Mechanize and twitter
How can I use mechanize and twitter? I used to send a twitter from su.pr but I would like to use mechanize to send it automatically for me! I know how to login but when I try to submit a post nothing happens I got this object:
开发者_JS百科http://pastie.org/2576760
do you know if it is because the javascript or am I missing something??
please help me!
See the twitter gem - the readme page contains everything you need, look for "Update your status". :)
I wrote an example oauth/twitter script in ruby some time ago, perhaps it could help you:
http://bitlong.org/articles/ruby_twitter
精彩评论