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


August 7, 2018

Official WhatsApp Business API  – A Quick Overview of API & How it Works

Official WhatsApp Business API - A Quick Overview of API & How it Works After the massive acquisition of Whatsapp by Facebook in 2014 for $19 billion now its time to show their stakeholders how facebook going to make money using Whatsapp Business Solutions. Few months back WhatsApp had launched a separate application called WhatsApp business in few countries

June 9, 2018

Sample Parrot Chat Bot in Core PHP

Sample Parrot Chat Bot Source Code & Example in Core PHP Below is a sample parrot chat bot source code written in Core PHP , it do the following actions when receiving a messages from a whatsapp number Extract the messages from the webhook. Construct a reply with current date and message then sends back