Giter Club home page Giter Club logo

whatsapp-sharing's Introduction

Hi there 🦜

My name's Kris. Check out my website and feel free to leave a guestbook entry here on GitHub. <3

whatsapp-sharing's People

Contributors

dasouza avatar kriskbx avatar muertet avatar olgagr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

whatsapp-sharing's Issues

iOS not work

When I try this on Iphone, it gives you the possible to select a contact, but there is nothing to share. It remains empty.

whatsapp for windows phone

We are unable to use whatsapp sharing into the windows phone. Now when click whatsapp button at this time whatsapp message home page open but can't share link.

No link jump in Whatsapp

Hi there
Thank you for a great plugin
I completed 5 steps but the it isn't working. No link come in Whatsapp. I don't know what's the problem. I know it's not your responsibility but May you give me a favor to help me to find what goes wrong?
Thank you

Installation

I have followed the instructions but am not seeing the button on the site. I am not sure I missed something since I only uploaded the one file whatsapp-button.js . I also installed the script before the /body hook on my website. What am I missing? The url in question is http://daniesgranny.com and I have added the button code to the right sidebar above the sign-up form using a widget area.

the share button be displayed normally the whatsapp be opened for a while then be closed immediately

At first thank you for your highly support ! I have downloaded all things according to the steps but I found out that the share button be displayed normally on mobile but when we click to share the page the whatsapp be opened for a while then be closed immediately with noting that if we delete style="display:none" from html code the shring works normally but without style just the share word appeared . Could you help us for such case
thank you in advance for your support

Whatsapp Sharing Failed! Please try again

Hi Authors,

Thanks a ton for the script.

I've implemented the script and followed the installation steps mentioned by you. Additionally, I've reviewed the FAQ.

I am unable to find a solution, hence reaching out to you.

Link -http://m.flickstime.com/Ahmedabad/movie-shows-in-theater-details/mvid/557/movie/Ek-Paheli-Leela-

I've installed the button in the link mentioned above. When i try to click the button it shows - sharing failed. Try after some time! I am not sure what's the issue? Can you help?

Thanks a ton in advance
Boni

Problem when whatsapp not available

We have implemented whatsapp sharing button to your website for the mobile compliance site. If whatsapp is installed the link is working fine and for the mobile devices without whatsapp showing "Web page not available." How to solve this issue.

Share a wordpress post's image

Is there any way to share the image through a button on my website like someone would share an image from his phone (gallery). Is this anyhow possible?

Cannot Open Page error

Hi,

If a user doesn't have the what's app installed, and clicked on the button they see the "Cannot Open Page" pop-up on iOS, and on Android the link is broken.

Would there be a way to let users know that they have to install What's App for sharing instead of these pop-ups or broken links?

Please refer to the attached image:
ios-android

Sharing button don't work on webview of android

Hi, i se your code to add a share button on my website. It's works perfect from mobile browser, but when i try to click it from the webview of my app it gives me this
screenshot- 15-apr-2015-20-52-43
I've just read this:
#15

and I don't understand why does not work properly even if the webapp run over the native android browser.

Button did not work on Nokia Lumia and Blackberry - FIXED

Hi,
I had the issue, that the buttons did not work on mentioned devices. I figured what, what caused the Problem:

I changed the following lines of Code:
button.js:
FROM:
waShBtn.prototype.isIos = ((navigator.userAgent.match(/Android|iPhone/i) && !navigator.userAgent.match(/iPod|iPad/i)) ? true : false);

TO:
waShBtn.prototype.isIos = ((navigator.userAgent.match(/Windows Phone/i|/BlackBerry/i|/Android|iPhone/i) && !navigator.userAgent.match(/iPod|iPad/i)) ? true : false);

whatsapp-button.js:
FROM:
this.isIos === !0 && this.cntLdd(window, this.crBtn)
}, waShBtn.prototype.isIos = navigator.userAgent.match(/Android|iPhone/i) && !navigator.userAgent.match(/iPod|iPad/i) ? !0 : !1, waShBtn.prototype.cntLdd

TO:
this.isIos === !0 && this.cntLdd(window, this.crBtn)
}, waShBtn.prototype.isIos = navigator.userAgent.match(/Windows Phone/i|/BlackBerry/i|/Android|iPhone/i) && !navigator.userAgent.match(/iPod|iPad/i) ? !0 : !1, waShBtn.prototype.cntLdd

Best regards

CommonJS/AMD build & push to npm?

We'd like to use this in our webpack based build, so we'd like this as a CommonJS (or UMD) module.

I also see a package.json so maybe it is cool to push to npm as well.

whatsapp button dont work on android

hi guys,
i install the button, its works great on ios mobiles but in android its try to open a new browser window and write that it cant open url.
as i read on addthis, android dont support whatsapp share... but... i have android app on my phone with whatsapp button that work.

please advice,
tnx,
nir

Create break line in the message

In a future release you could add the command to break a line in the message, in that way is possible to send a title leave one break line and then show the url.

Regards

Can't get it to work when loading content with ajax

Hello,

I'm using your WhatsApp-Sharing-Button! Awesome project, pretty easy and nice to implement. However, I'm having a problem with ajax requests.

I'm doing it like this:

$.ajax({
    url: url
}).done(function (data) {
    $('body').find('main:eq(1)').html(data);
    WASHAREBTN.crBtn();
});

However, the URL is still the old one. When switching sites normally, the URL is the correct one, but with AJAX content loading I'm having this problem. How exactly would I solve this? What can I do to give you more information on this?

WhatsApp button shows up on iPad

The description says the button will only show up on supported platforms. But on our website, it currently shows up on the iPad, even though Whatsapp is not supported there.

Wordpress integration

Hello, I use wordpress cms for my websites.
I want to integrate WhatsApp sharing button.
I did 3 steps http://whatsapp-sharing.com/
Then downloaded "whatsapp-button.js" source to "www/wp-admin/js"
Then I put the script code to the end of the text at my page. Replaced the "url/to/your/button/whatsapp-button.js" to "wp-admin/js/whatsapp-button.js". But script didn't work. It shows empty place at the page.
What should I do and where am I wrong?

URL problem when it has arguments

Hi,

I try to use an url with arguments (Google Analytics Campaign) in the data-href and it opens Whatsapp but after chose the receiver the message is empty (not even the title).

There is the example that fails:
<a href="whatsapp://send" data-text="Ay&uacute;danos a conseguir donaciones:" data-href="http://www.ayudemosajulio.cl/?utm_source=social_share&utm_medium=whatsapp&utm_campaign=ayudemosajulio" class="wa_btn wa_btn_s" style="display:none">Compartir</a>

And this one works fine:
<a href="whatsapp://send" data-text="Ay&uacute;danos a conseguir donaciones:" data-href="http://www.ayudemosajulio.cl" class="wa_btn wa_btn_s" style="display:none">Compartir</a>

Button always displayed

Hi guys i was so happy to find this script but seems like it doesnt works anymore.
It display the buttons also in cases where whatsapp its not supported or not available.
I've just downloaded the latest release and uploaded to a server for testing purpose and noticed this bug.

Any idea on why it happens and how to fix it?

Thanks in advance

Buttons updates and replacements

If I replace a WA button with another one, the new button is now hidden.
How can I reload it?
Otherwise, how can I change button's data attributes?

SSL Support

SSL is currently not supported by Github-Pages with custom domain.
But you can replace the default button url in the javascript section //whatsapp-sharing.com/button with https://kriskbx.github.io/whatsapp-sharing/button for SSL support.

whatsapp for google analytics

We added google analytics onclick code into the whatsapp share button. It is not working for mobile device. So for this reason we are unable to count number of sharing. But we check this into the desktop at this time analytics working properly.

Can you help me about this matter ?

Include phonenumber/contact in url.

We want to use the sharebutton in another way. we want customers to contact us via a special phonenumber.

Is it possible to integrate it into the share button?

Whatsapp share button doesn't share any text or url

Hey, I'm having trouble with Whatsapp share button issues.

Here is an example code from one of the pages with the button :
<a href="whatsapp://send" data-text="דיל טסט בשביל הכיף" data-href="http://hayanshufdeal.co.il/index.php?option=com_product&view=product&id=42"; class="wa_btn wa_btn_s" style="display:none">שיתוף<script type="text/javascript">if(typeof wabtn4fg==="undefined"){wabtn4fg=1;h=document.head||document.getElementsByTagName("head")[0],s=document.createElement("script");s.type="text/javascript";s.src="//whatsapp-sharing.com/button";h.appendChild(s);}</script>

As you can see, the data-text is ok, the data-href is taken dynamically from the current url but in Whatsapp you see no text on the message block eventually.

Any clue?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.