Use just api. in WhatsappShareButton.ts#459
Use just api. in WhatsappShareButton.ts#459SaadBazaz wants to merge 2 commits intonygardk:masterfrom
Conversation
Use just api instead of web, as it now handles all scenarios
|
Tested and working correctly on both mobile, desktop and WhatsApp Web. React 18 |
|
This should be merged.... |
|
I recently support merging this PR, because for some weird unknown reason; web.whatsapp.com was not accessible, but api.whatsapp.com was working. I thought whatsapp had remove the Suddenly it web.whatsapp.com is now accessible. So, I don't think this PR needs to be merged anymore because the current whatsapp sharing experience is way better than what this PR would offer. Sorry @SaadBazaz. Nice effort though. |
|
Closing as stale. Please reopen if needed. |
|
@nygardk - Why I don't consider this stale:
Here's a video recording of what I'm talking about. Here's when I use web.whatsapp.com Here's when I use api.whatsapp.com Screen.Recording.2023-11-20.at.09.53.14.mov |
|
Hey there, Following @SaadBazaz 's comment, I believe the user experience is better when using 'api.' instead of 'web.' on Desktop. Any updates on whether this will eventually be integrated? Thanks! |

Use just
api.whatsapp.cominstead of choosing betweenapi.whatsapp.comandweb.whatsapp.com, because api now handles all scenarios (Web, Mobile and Desktop)