更新了那个“最小的ruby飞信客户端 ”
源码:http://code.google.com/p/fetion-ruby/
登录时rsa加密部分参考了pyfetion(http://code.google.com/p/pytool/source/browse/#svn%2Ftrunk%2FPyFetion可以正常登录)和rfetion(https://github.com/flyerhzm/rfetion/blob/master/lib/rfetion/fetion.rb#L530已经不能正常登录)的实现,外加自己的推测。
使用:
fetion = Fetion.new "mobile_num","password" fetion.login fetion.send_sms "mobile_num","any sms" fetion.send_sms_to_self "test-中文-ruby-fetion" fetion.logout
经过几个不同ip测试,均没有遇到验证码问题。
相关推荐
HelloC先生 2010-10-02
Sabrina 2012-01-26
clliuhust 2011-08-03
yiranpiaoluo 2013-02-21
yuhuqiao 2010-08-20
heroxsx 2009-08-18
liuyaping 2010-05-10
chenlaoyang 2013-07-11
zhanglao 2009-06-27
布布地带 2011-02-25
86193952 2010-10-19
81427305 2009-06-14
lufybrooklin 2012-08-18
sheep 2012-08-06
89447715 2010-11-16
playlinuxxx 2010-09-22
chengkun 2010-09-13
drysilt 2009-10-23