Skip to content

This is an API to access free sms service at way2sms.com from the commandline. It offers sending sms from the commandline itself, also it supports delivering the message to multiple phone numbers listed.

Notifications You must be signed in to change notification settings

SSVineet/Unofficial-Way2Sms-API-using-JAVA

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

**THIS IS NO LONGER MAINTAINED** 

This is a simple Java API and its implementation to send sms from commandline using the way2sms sms service. Do the following steps

1) You have to register at Way2SMS and Obtain a User Name and Password.

2)You have to find the ACTION value.

*In-order to  find the action value first install 'fire bug' to your Firefox.
*Then login to your way2sms account.
*Open Firebug from tools->Firebug->open firebug.
*In the search field of firebug type 'action' and click next until you find something like
<input id="Action" type="hidden" value="sa65sdf656fdfd" name="Action">

*Now the value 'sa65sdf656fdfd' is your ACTION value.


Now open the source and edit the following fields in main()
* USERNAME : Your way2sms username
*PASSWORD : Your way2sms password
*ACTION : The ACTION value we found out
*Also uncomment the proxy support if needed.

Now compile the code

          javac Way2SMS.java
          
          
          
          
Run the code

java Way2SMS phone no1 no2 ....  message your message here!


Note: The ACTION value is so important that if you have omitted the program will not  give the desired result. In future I will add feature to automatically fetch that ACTION field for you.



contact: tacticiankerala@gmail.com



Example :
java Way2SMS phone 1234567890 0987654321 message Where where you yesterady? 

About

This is an API to access free sms service at way2sms.com from the commandline. It offers sending sms from the commandline itself, also it supports delivering the message to multiple phone numbers listed.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Java 100.0%