Results 1 to 2 of 2

Thread: whatsapp links api.whatsapp.com & web.whatsapp.com looking for script?

  1. #1
    Join Date
    Sep 2004
    Location
    Little Falls, Roodepoort, South Africa
    Posts
    421
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default whatsapp links api.whatsapp.com & web.whatsapp.com looking for script?

    Hi Guys

    My website is http://www.silvertreeestates.co.za/#P107239544

    I have a Whatsapp button on each property and from a mobile phone the link works because I'm using api.whatsapp.com, however if you are using on a Laptop this link does not work as the url needed is then web.whatsapp.com

    So wondering if any of you smart people can suggest an alternative, or script I could use to automatically select the correct url to obtain the result on both phone and PC ??


    Code:
    <!--Property Listing Start-->
    <div class="divborder col-md-1"><div class="divTable"><div class="divTableBody" id="P107239544"><div class="divTableRow">
    <div class="divTableCell"><p class="htext">click image to view gallery</p><a href="img/listing/107239544/gallery.html" target="_blank">&nbsp;<img class="pic" src="img/listing/107239544/cover.jpg" alt=""></a></div></div>
    <div class="divTableRow"><div class="divTableCell"><br><h2>This is a stunning, spacious duplex, facebrick unit in a popular complex, close to amenities.</h2><div class="divTableCell allabout imgsprite"></div>
    <br><p class="htext text-justify">
    Enjoy this sunny and bright home which offers a spacious open plan dining and lounge area with laminated floors, chandeliers and immediate access into the private garden. Downstairs guest toilet. Open plan modern kitchen with gas stove and scullery. Upstairs has three spacious bedrooms all leading onto the balcony and two neat bathrooms. Double garage. Privacy and close to Private Schools and Shopping Centres...
    </p><br><h1>Poortview</h1><h3><span class="zar zarsprite currtextsprite">R 1,595,000</span></h3>
    <div class="divTableCell receptionsprite imgsprite"><div class="textsprite">2</div></div><div class="divTableCell bedsprite imgsprite"><div class="textsprite">3</div></div><div class="divTableCell bathsprite imgsprite"><div class="textsprite">2</div></div><div class="divTableCell garagesprite imgsprite"><div class="textsprite">2</div></div><div class="divTableCell fibresprite imgsprite"><div class="textsprite">Y</div></div><div class="divTableCell petsprite imgsprite"><div class="textsprite">Y</div></div>
    <br><div class="divTableCell sizesprite imgsprite"><div class="bigtextsprite">180m</div></div><div class="divTableCell ratesprite imgsprite"><div class="bigtextsprite">TBA</div></div><div class="divTableCell levysprite imgsprite"><div class="bigtextsprite">R 2,251</div></div>
    <br><p class="hbond">Can you afford this mortgage (based on 20 Years @ Prime) per month - R 15,657</p><br><div class="divTableCell dianesprite imgsprite"></div></div></div><div class="divTableRow"><div class="divTableCell"><div class="social"><h4>&nbsp;</h4>&nbsp;<div class="p24sprite feathove"><a href="https://www.property24.com/for-sale/willowbrook/roodepoort/gauteng/11009/107239544" target=_blank>&nbsp;<div class="divTableCell feathove"></div></a></div>&nbsp;&nbsp;<div class="privpsprite feathove"><a href="https://www.privateproperty.co.za/for-sale/gauteng/johannesburg/roodepoort/willowbrook/9-grant-burge/9-van-der-kloof-road/T2232206" target=_blank>&nbsp;<div class="divTableCell feathove"></div></a></div>
    &nbsp;&nbsp;<div class="whatsappsprite feathove"><a href="https://api.whatsapp.com/send?text=Please%20check%20out%20this%20property%20on%20Silver%20Tree%20Estates!%20http://www.silvertreeestates.co.za/#P107239544=whatsapp&amp;utm_medium=cpc&amp;utm_campaign=socialmedia" target=_blank>&nbsp;<div class="divTableCell feathove"></div></a></div></div></div></div></div></div></div>
    <!--Property Listing End-->
    Very Best Rgds, Simonf :cool:
    __________________________________
    My Site | E-Mail Me

  2. #2
    Join Date
    Feb 2021
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Something similar happened with my website (https://gbapps.net) and I did a lot of searching on the net and then I found these two tutorial guides that helped me solve my problem.


    https://faq.whatsapp.com/android/im-...pp-with-my-app

    https://www.elegantthemes.com/blog/t...dpress-website

Similar Threads

  1. Replies: 2
    Last Post: 01-11-2019, 07:08 AM
  2. How to add links to this script...
    By Brian07002 in forum PHP
    Replies: 7
    Last Post: 04-18-2018, 10:19 PM
  3. Replies: 0
    Last Post: 04-12-2009, 09:20 PM
  4. Sub Links Script
    By pixelzim in forum Looking for such a script or service
    Replies: 4
    Last Post: 10-25-2008, 04:42 PM
  5. Script for links?
    By satinkisses2004 in forum PHP
    Replies: 1
    Last Post: 07-19-2006, 09:42 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •