开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜