Blog

Picky Assist Sample Code for Sending & Receiving Messages 

Picky Assist Sample Code in Different Programming Languages for reference

Below are the sample code for different programming languages for developers reference , please note we highly recommend to use POST method to extract data from the webhook, if you want to reply to the incoming messages then you must give reply in JSON format.

If you are facing any issues with sample code we can provide 3rd party developers contact details who may charge a small amount to guide or fix your issue , please write to support@pickyassist.com if you required any assistances.

Pre-Requisite

  1. An Picky Assist Account (Dont have one? Click Here to Create a Developers Account for free)
  2. Webhooks Configured against a Project in Picky Assist Console (See How to Configure Webhooks)

PHP Sample Code for Sending & Receiving Messages

 

ASP.NET Sample Code Using C#

 

Sample Code in Node JS with an Express Server

This is an example how to implement a very simple “parrot” bot (that replies exactly what has been said to it) using Node.js with an Express server:

 

 

Leave a Reply


Your email address will not be published. Required fields are marked *

Related Posts


October 13, 2018

Getting Free Virtual Mobile Number for WhatsApp

Getting Free Virtual Mobile Number for WhatsApp In this article we will explain how to get virtual mobile numbers or real SIM Card to configure whatsapp personal or business. Please note this service is not provided by Picky Assist and we dont have any association with the companies, we dont provide any support about this

September 28, 2018

Guidelines to broadcast messages to WhatsApp 

Guidelines to broadcast messages to WhatsApp Using Picky Assist Broadcaster Service Please follow the below guidelines while using the broadcaster feature of picky assist to ensure that you will not get blocked by WhatsApp. OPT-IN Send messages only to contacts who are OPT-IN to receive messages from you / your business , build a Subscription