ZennoLab

Automate everything

User Tools

Site Tools


en:sms-services

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:sms-services [2016/04/29 15:58]
vladz
en:sms-services [2016/05/12 11:15] (current)
vladz
Line 1: Line 1:
 ====== Services for receiving SMS ====== ====== Services for receiving SMS ======
 +===== What can be used for? =====
 +
 +ZennoPoster allows to bypass verification by sms using special **sms-services** which can receive sms. For this, several sms-services have been implemented into the program. You can find info about these services on their websites. ​
 +
 +To use sms-service in zennoposter,​ you should configure it in program settings. You need to specify your API-key to service (secret code) and url address of api-page. ​
 \\ \\
 \\ \\
-ZennoPoster allows to bypass confirmation by sms using special sms services which can receive sms. For this, several sms-services have been implemented into the program. You can find info about these services on their websites. To use sms service in zennoposter you should configure it in program settings. You need to specify your API-key to service (secret code) and url address of api-page. ​ 
- 
 {{:​en:​sms-services_1.png}} {{:​en:​sms-services_1.png}}
  
 +===== How it works =====
 +
 +To work with sms-services,​ you should follow the steps below:
 +
 +1. Request number and receive it.\\
 +2. Send sms-message to received number.\\
 +3. Notify sms-service that sms message has been sent.\\ ​
 +4. Wait when the message will be received.\\
 +5. Close session.\\ ​
 +
 +To add operation with sms-service to your project, you should use the action "​Data"​ - "​Sms-services"​.
 +
 +{{:​en:​sms-services_2.png|}}
 +
 +===== Operations with sms-services =====
 +
 +The following operations with sms-services are available: ​
 +
 +**"Get number"​**
 +
 +{{:​en:​sms-services_3.png|}}
  
 +This operation returns phone number and action ID which will be required later for working with this number. Some sms-services also ask to specify mobile network operator and the purposes for which the number will be used. More details you can find on website of the service. ​
  
 +**"​Change status"​**
  
 +{{:​en:​sms-services_4.png|}}
  
 +Using this operation you can notify service about changing number status. Here are possible statuses: ​
  
 +  * SMS has been sent (sms has been sent to this number)
 +  * Repeated code request (if you had to send sms again for some reasons)
 +  * Cancel request (when number is not useful any more. service may return spent funds from balance)
 +  * Number already used (when number is busy)
 +  * Finish (when number used successfully)
  
 +**"Get status"​**
  
 +{{:​en:​sms-services_5.png|}}
  
 +Using it you can request number status. If it is currently waiting SMS, program will be trying to receive it within 3 minutes. If sms was not received within this time, operation will return "​wait"​ and you will have to repeat operation. Some services have very long response time to sms (about 15 minutes).
  
 +===== Project example =====
  
 +The process of working with sms-service in project for zennoposter will look like this: 
  
 +{{:​en:​sms-services_6.png|}}
en/sms-services.1461945491.txt.gz ยท Last modified: 2016/04/29 15:58 by vladz