Categories
Ξ TREND

How to make the WhatsApp link


how to make a whatsapp link

In an online world, sharing a link to be able to communicate directly with someone is vital if we want to take full advantage of all the possibilities that social networks offer. WhatsApp is a very popular application and there are several ways to create a link to start a chat from any web page or mobile application.

Method 1 Using HTML

To create a link using HTML, the code is simple:

Click here to open a chat on whatsapp

In this code there are several elements that you can change:

  • Add your username to the end of the address: whatsapp://send?text=Hello&username=username
  • Add a phone number to the end of the address: whatsapp://send?text=Hello&phone=1234567890
  • Add a group to the end of the address: whatsapp://send?text=Hello&abid=1234567890

Method 2 Using JavaScript

You can also create a WhatsApp link using JavaScript. The following code will cause a link to open in the app:

Click here to open a chat on whatsapp

Again, you can add your username or phone number to the end of the address to personalize the link.

Method 3 Using href links

This method is a bit more complicated, as it requires you to know how to generate an HTML link to a specific URL. All you have to do is replace the “whatsapp” class with a URL, for example:

href=”https://api.whatsapp.com/send?phone=YOUR_PHONE_NUMBER&text=YOUR_MESSAGE”
target=”_blank”>
Send me a message on WhatsApp

In this method, it is important to add a target=”_blank”so that the link opens in a new tab.

Conclusion

In conclusion, there are several ways to generate a link so that people can send you a message directly from WhatsApp. Whether you use HTML, JavaScript, or even a URL, the ultimate goal is to make sure you can take people directly to your messaging app’s chat.

How to make the WhatsApp link on the web

Buttons to share and make your content accessible from the WhatsApp application have become a necessity for most websites. For this reason, today we want to explain how to make the WhatsApp link on your website.

Step 1: Get the user ID

The first thing you have to do to access the WhatsApp application is to get the URL with the user ID. To do this you have to open WhatsApp, click on the menu button and select the “About” option. Here you will find your URL address with the user ID.

Step 2: Insert the HTML code

Once you have the URL with the user ID, all you have to do is insert the following code into your website.

Share on WhatsApp

Step 3: Edit the HTML code

Now that you have the HTML code, all you have to do is edit it so that your website connects correctly to the WhatsApp application. Specifically, you will have to:

  • Swap the text between line brackets Share on WhatsApp by the user ID you got from Step 1.
  • change the text Here goes your message by the message you want to be displayed when sharing.

Now, all you have to do is save the changes to your website and you already have the WhatsApp link correctly connected to your content.

If you want, you can even add a target=”_blank”, so that the link opens in a new tab.

With this, you have finished the process of adding a WhatsApp share button to your website. We hope it has been helpful to you!

How to make the Whatsapp link

WhatsApp is one of the main messaging applications today. Many people use it to keep in touch with friends and family. One of the many things you can do with WhatsApp is to share the different links. If you want to send a link to your WhatsApp user, this guide will show you how to do it.

Step 1:

Open WhatsApp and start a new conversation. You can do it from the main window or by touching the icon of a person at the top of the screen.

Step 2:

Once in the conversation, tap the magnifying glass at the top left to find the URL you want to share. Copy the URL for the web page you want to share.

Step 3:

Touch the up arrow icon to open the menu. Once there, select the “Send Link” option. This will open a dialog box where you can paste the previously copied URL.

Step 4:

Finally, tap on the “Send” button to share the link with the person you are speaking to. You can add an additional message if you wish.

Here is a summary of the steps mentioned above:

  • Step 1: Open WhatsApp and start a new conversation.
  • Step 2: Find and copy the URL you want to share.
  • Step 3: Go to the menu and select the option “Send link”.
  • Step 4: Paste the URL and submit.

Therefore, you already know how to share a link on WhatsApp. Share your favorite links with friends and family to keep everyone up to date.

By Quentin Reed

Meet Quentin Reed, a computer enthusiast hailing from Karachi, Sindh, Pakistan. With a strong foundation in Computer Science from his education, Quentin has delved into the world of technology with great passion. As a Software Test Analyst from 2018 to 2020, he honed his skills in ensuring the quality and functionality of software applications. Currently serving as a Manager at Gaming Laptops, Quentin combines his expertise in computers with his love for gaming. Embracing his identity as a computer geek, he continues to explore the ever-evolving landscape of technology, eager to stay at the forefront of innovation and contribute to the digital realm.