How do you connect?


Setting up is easy.

  1. Choose an identity from the IM network of your choice. This will be the name to send messages to and from.
  2. Choose a service name. This will be the prefix for all the messages sent and received. (i.e.: for the identity paip2 messages like “weather London, UK” and “football Manchester” are sent to 2 different services: weather and football).
  3. Enter the URL where to send all your incoming messages. The parameters will be sent via GET. (i.e.: http://weathersite.com/incoming.php?from=foo&to=weather&type=msg&msg=London,UK). When you receive a message to this service you can reply on the fly by outputing the message (which in this example would be likely). If you don’t wan’t to reply at that moment (because it usually takes a lot to process, for example) just ouput “noreply“.

And that’s all.

To send messages you send the parameters to our webservice url via GET or POST.

Example: http://paipto.com/webservice/put?from=weather&to=foo&type=msg&msg=Sunny+weather&key=1235ae13242314..

The type parameter will be used later on to send conference messages, set status messages, accept and/or delete buddies and send files.

The key parameter is your unique API key which you will be assigned on signup.


COMMENTS / 3 COMMENTS

Cool blog
Thanks, webmaster.

best savings accounts us added these pithy words on Aug 26 08 at 19:37

Cool blog
Thanks, webmaster.

state select water heaters added these pithy words on Aug 27 08 at 00:25

Amazine site
Thanks, webmaster.

state select hot water heater added these pithy words on Aug 27 08 at 09:19
Return to Top

How do you connect?

FRESH / LATEST POSTS