This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Following this guide you will be able to validate if a number is registered on whatsapp, and fetch its Display Picture (if available). | |
The API used on the guide can be found here: https://rapidapi.com/inutil-inutil-default/api/whatsapp-profile-pic | |
--- | |
After you create a new Google Sheet, add a dummy phone number in a cell... Let's say the phone is added to cell E10. | |
Click in the next cell, then go to Extensions > Apps Script. | |
The first script will validate if the number is registered on whatsapp. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "1a7d158148fe5b79", | |
"type": "inject", | |
"z": "bbd7ed3209eaa6b7", | |
"name": "status", | |
"props": [ | |
{ | |
"p": "command", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# API used: https://rapidapi.com/inutil-inutil-default/api/whatsapp-profile-pic/details | |
# This example fetchs the profile pic of the phone number: 34605797764 change this value according to your needs. | |
import requests | |
url = "https://whatsapp-profile-pic.p.rapidapi.com/wspic/url" | |
querystring = {"phone":"34605797764"} | |
headers = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Google form answers, on a whatsapp group | |
1- create a new google form. | |
2- create the whatsapp group that will receive notifications. | |
3- get the unique url of the whatsapp group, for IFTTT. | |
4- create an ifttt applet, that will be sending a message to the whatsapp group, when a new form answer is received. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The url used on the video has this structure: | |
https://whin2.p.rapidapi.com/hook/YOUR_RAPID_USERNAME/?rapidapi-key=YOUR_APIKEY&gid=YOUR_GROUP-ID | |
# This is the schema you need to use on the webhook origin if it does not allow to use headers. | |
# The API used on the video can be found here: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# add this on the configuration.yaml file of HA | |
# the a free api key from: https://rapidapi.com/inutil-inutil-default/api/whin2/ | |
rest_command: | |
send_whatsapp_to_me: | |
url: "https://whin2.p.rapidapi.com/send" | |
method: POST | |
headers: | |
content-type: application/json |