Comments (4)
Noone can help you without code to look at.
Read this first: https://github.com/kriskbx/whatsapp-sharing/blob/master/ISSUES.md
from whatsapp-sharing.
This code doesn't help: this is regular PHP and it simply echos out a string somewhere, it's not related to the library in any way.
Have you integrated the library into your website? Then provide us with a link to your site or paste the resulting code into a jsfiddle or something. I'm interested in the actual button html element as well as the inclusion of the js-library.
from whatsapp-sharing.
Hello @kriskbx
Here is code
from whatsapp-sharing.
Are you actually using the library? It seems like you don't, coz there are no data attributes and no classes on the a tag as it should be. If you want to use this particular library, then repeat all the installation steps here. If you dont't want to use the library and just want the url-scheme without any javascript overhead: make sure to encode your text and url with urlencode( $str );
. One thing, though: your button will be displayed everywhere, even if the device doesn't support url-schemes or WhatsApp itself. So, in my opinion you should probably install this library.
from whatsapp-sharing.
Related Issues (20)
- Button not working upon clicking HOT 4
- Button not working upon clicking HOT 3
- What about https://web.whatsapp.com/ HOT 2
- Include phonenumber/contact in url. HOT 2
- Problems when using firefox on android HOT 3
- How to share images on whatsapp with text / caption from my mobile site? HOT 6
- Installation HOT 2
- whatsapp sharing working on android mobile browser but not working on android webview HOT 1
- Problem when whatsapp not available HOT 1
- Can't get it to work when loading content with ajax HOT 7
- AMP symbole does not support HOT 1
- Magento and Whatsapp Button HOT 3
- Working with AJAX and Dynamic URL with AngularJS Directive HOT 1
- Button not working HOT 7
- Cannot make it work with ajax content
- Ends up with "The address wasn't understood" HOT 1
- whatsapp-sharing.com is redirecting
- code for starting whatsapp conversation (not sharing)
- count sharing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whatsapp-sharing.