Communication Subscribe

/communication/subscribe

Method allows easy subscription by e-mail, communicators or cell phone to stream.

Parameters:

type - type of destination
1 - cell phone
2 - email
3 - GG communicator

target - target address to subscribe to

Example:

http://www.polishwords.com.pl/api.php?method=/communication/subscribe&type=1target=666777555&apiKey=<apiKey>

Subscribes cell phone number 666777555 to stream.

Notice: for type 3 (GG communicator) subscription is not activated by using this method. You must call activate method also.

/communication/subscribe/activate

Method allows to activate subscription. Now it is used to activate GG subscription.
Parameters are the same like for /communication/subscribe.

Example:

http://www.polishwords.com.pl/api.php?method=/communication/subscribe/activate&type=3target=38475&apiKey=<apiKey>

Activates subscription of number 38475 of GG to subscription.

/communication/subscribe/deactivate

Method allows to deactivate subscription. Now it is used to deactivate GG subscription.
Parameters are the same like for /communication/subscribe.

Example:

http://www.polishwords.com.pl/api.php?method=/communication/subscribe/deactivate&type=3target=38475&apiKey=<apiKey>

Deactivates subscription of number 38475 of GG to subscription.

O ile nie zaznaczono inaczej, treść tej strony objęta jest licencją Creative Commons Attribution-ShareAlike 3.0 License