# Componente de compartir en redes sociales con WhatsApp Web

**URL:** https://meta.discourse.org/t/social-share-component-with-whatsapp-web/108684
**Category:** Support
**Created:** [8 Febrero, 2019 14:38 UTC](https://meta.discourse.org/t/social-share-component-with-whatsapp-web/108684 "2019-02-08T14:38:28Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![dave\_odiakaose](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dave_odiakaose/32/130658_2.png) [@dave\_odiakaose](https://meta.discourse.org/u/dave_odiakaose)
#### Post date: [8 Febrero, 2019 14:38 UTC](https://meta.discourse.org/t/social-share-component-with-whatsapp-web/108684/1 "2019-02-08T14:38:28Z")

</div>

i just installed the social share component then added Whatsapp link:

> [@Social Share](https://meta.discourse.org/t/social-share/89980/22):
>
> whatsapp,whatsapp,share with whatsapp,[https://wa.me/?text=](https://wa.me/?text=)

When i tried to share i got this message: see image!

 ![IMG_20190208_152149](https://global.discourse-cdn.com/meta/original/3X/3/d/3d294b76a55bb76ee30d3c668d67f047d71a83a0.jpeg)

how can this be fixed?

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [8 Febrero, 2019 15:03 UTC](https://meta.discourse.org/t/social-share-component-with-whatsapp-web/108684/2 "2019-02-08T15:03:34Z")

</div>

Mmm I’m not sure, I just tested the component on Try and it works as usual. Now it’s enabled, see if you have the same error

> **[Discourse Demo](https://try.discourse.org)**
>
> Demonstration sandbox for Discourse

---

<div class="post-metadata">

### Author: ![dave\_odiakaose](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dave_odiakaose/32/130658_2.png) [@dave\_odiakaose](https://meta.discourse.org/u/dave_odiakaose)
#### Post date: [8 Febrero, 2019 15:13 UTC](https://meta.discourse.org/t/social-share-component-with-whatsapp-web/108684/3 "2019-02-08T15:13:29Z")

</div>

lemme try it again..

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [8 Febrero, 2019 15:54 UTC](https://meta.discourse.org/t/social-share-component-with-whatsapp-web/108684/4 "2019-02-08T15:54:37Z")

</div>

Can you repro the error on Try?

---

<div class="post-metadata">

### Author: ![dave\_odiakaose](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dave_odiakaose/32/130658_2.png) [@dave\_odiakaose](https://meta.discourse.org/u/dave_odiakaose)
#### Post date: [8 Febrero, 2019 18:25 UTC](https://meta.discourse.org/t/social-share-component-with-whatsapp-web/108684/5 "2019-02-08T18:25:33Z")

</div>

i tried it again and still got the same error message : (

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [8 Febrero, 2019 19:01 UTC](https://meta.discourse.org/t/social-share-component-with-whatsapp-web/108684/6 "2019-02-08T19:01:44Z")

</div>

Are you able to make a video to see where is the problem? It’s a bit late for me now, I can take a look tomorrow or early next week.

---

<div class="post-metadata">

### Author: ![dave\_odiakaose](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dave_odiakaose/32/130658_2.png) [@dave\_odiakaose](https://meta.discourse.org/u/dave_odiakaose)
#### Post date: [8 Febrero, 2019 19:37 UTC](https://meta.discourse.org/t/social-share-component-with-whatsapp-web/108684/7 "2019-02-08T19:37:30Z")

</div>

i had to try again and i think it worked. see image:

 ![IMG_20190208_203125](https://global.discourse-cdn.com/meta/original/3X/1/5/15f898f035fe577a53add9197878ae9039122ab2.jpeg) .

but when i pushed the SEND button it took me to google playstore and instructed i should update my whatsapp app. i will update soon. thanks for your help:)

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [8 Febrero, 2019 19:47 UTC](https://meta.discourse.org/t/social-share-component-with-whatsapp-web/108684/8 "2019-02-08T19:47:46Z")

</div>

I think that component is mostly for iPhones where it will open in the WhatsApp app.

On Android we will launch the native share dialog and that will already have Whatsapp.

On Desktop, I’m not sure if WhatsApp desktop app will handle that.

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [9 Febrero, 2019 11:04 UTC](https://meta.discourse.org/t/social-share-component-with-whatsapp-web/108684/9 "2019-02-09T11:04:46Z")

</div>

@dave_odiakaose if you are trying to share it via **whatsapp web** you need to use this link `https://web.whatsapp.com/send?text=` instead of `https://wa.me/?text=`. In this case be sure to explain in the Title that the button works only on Desktops using WhatsApp Web. On mobile this is what happens:

 ![image](https://global.discourse-cdn.com/meta/original/3X/e/7/e7f7de869347801a110c8e8c7a84fb03e9dd204e.png)

_(topic title edited)_

---

<div class="post-metadata">

### Author: ![dave\_odiakaose](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dave_odiakaose/32/130658_2.png) [@dave\_odiakaose](https://meta.discourse.org/u/dave_odiakaose)
#### Post date: [9 Febrero, 2019 12:58 UTC](https://meta.discourse.org/t/social-share-component-with-whatsapp-web/108684/10 "2019-02-09T12:58:58Z")

</div>

thanks i will work on that

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [11 Febrero, 2019 20:13 UTC](https://meta.discourse.org/t/social-share-component-with-whatsapp-web/108684/11 "2019-02-11T20:13:25Z")

</div>

So, you can use a trick to use both whatsapp (on mobile) and whatsapp web (on desktop) without problems.

You need to use 2 different icon. In the example below I will use

- `whatsapp` for Whatsapp and
- `whatsapp-square` for WhatsApp Web

1. Add both social links inside the theme component setting:  
a. `WhatsApp,fab-whatsapp,share with WhatsApp,https://wa.me/?text=`  
b. `WhatsApp Web,fab-whatsapp-square,share with WhatsApp Web,https://web.whatsapp.com/send?text=`

2. Add `fab-whatsapp` and `fab-whatsapp-square` in the **svg icon** component setting.  
The result will be:  

3. Now create a **new** theme component, go to the `common > CSS` tab of the component and add:

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [5 Agosto, 2022 19:17 UTC](https://meta.discourse.org/t/social-share-component-with-whatsapp-web/108684/13 "2022-08-05T19:17:57Z")

</div>



---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [18 Enero, 2023 10:13 UTC](https://meta.discourse.org/t/social-share-component-with-whatsapp-web/108684/14 "2023-01-18T10:13:51Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
