Sending SMS using Way2sms on rails

3.9k views Asked by At

Can any one help me to send sms using way2sms api by means of rails application.

Thanks

3

There are 3 answers

0
Alfred Francis On

I have created a free open source SMS API called AlfaSMS API for way2sms,160by2.com,fullonsms. It is available in many programming languages like PHP,VB,C++,c#,Python etc.You can download it from http://www.alfredfrancis.in/alfasms-api/

9
Ubaid On

I have developed an API that anyone can use. Check it out here.

You can use the web page I created or you can use the API. For example, your application can directly forward the request to:

http://ubaid.tk/sms/sms.aspx?uid=99999xxxxx&pwd=12345&msg=YOUR_SMS_MESSAGE&phone=9996669990&provider=way2sms

The different providers are way2sms, fullonsms, smsinside and tezsms.

Works 100%, all the time. :)

Edit: As of 2014, the service is stopped since it violates the TOS of most of these providers.

Cheers.

0
nikhil On

There is a ruby gem that I wrote based on Ubaid's API. You can find it here. You can use it in any ruby or rails project as long as you are running a version of ruby >= 1.9.

require 'chagol'
texter = Chagol::SmsSender("9876543210","password","way2sms")
texter.send("9968154700", "Chagol Rocks")

Disclaimer, I am the author of this gem.