WhatsApp deep link to a specific mobile number
<p>So, a friend of mine told me they have been using Facebook ads to post a deep link to send a whatsapp message and ask for the information about the ad via whatsapp. Bad news: this friend is not very tech savvy so that's all he knows.</p>

<p>Now, the subject actually caught my eye so I started researching. Unfortunately: official documentation states the url scheme for whatsapp is something like:</p>

<pre><code>    whatsapp://send?text=WHATEVER_YOU_WANT&amp;abid=RECIPIENT_ADDRESSBOOK_ID
</code></pre>

<p>Now: big issue is that the abid (Adress Book ID) is relative to each phone and obeys only to the order each one was added to the specific phone we're talking about. In this case, the contact I want to send the message is 402. But 402 on each of your mobile devices will be any other person. Not the one you want to be. </p>

<p>So I reached the abid by downloading iMazing and sqlitebrowser and making a backup of my iPhone using the iMazing backup tool to then extract the ChatStorage.sqlite from said backup and looking into the sql database. I found that each contact does have an e-mail address time ID named ZCONTACTJID (NUMBERWITHOUT+@s.whatsapp.net) and another id named ZETAG (w:APPARENTLYRANDOMNUMBER;) </p>

<p>Is anyone of you familiar with such ID's or do have a way to make a deep link useful for send a message to a specific number?</p>

<p>Thanks!</p>