How to Share Multiple URLs in WhatsApp Share

In this blog, I will show you how to pass multiple URLs in WhatsApp share.
Before that, take a look at WhatsApp Sharing Button Generator.

Here is the code
  1. string whatappstring = string.Empty;  
  2. whatappstring = "Your Message 1" + "\r\n" + "http://www.abcd.com/"   
  3. + "\r\n" + "Your Message 2" + "\r\n";
Now, in your aspx page

call the the string like this
  1. <a href="whatsapp://send" data-text="<%=whatappstring %>" data-href="http://www.cdef.com/" class="wa_btn wa_btn_s" style="display:none">Share</a>   
Now, pass multiple URLs in WhatsApp share.

Hope you enjoyed.
All comments are welcomed.
Next Recommended Reading Sharing .NET Page On Social Media