Giter Club home page Giter Club logo

Comments (4)

kriskbx avatar kriskbx commented on July 22, 2024

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.

kriskbx avatar kriskbx commented on July 22, 2024

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.

nkuldip avatar nkuldip commented on July 22, 2024

Hello @kriskbx
Here is code

php_code

from whatsapp-sharing.

kriskbx avatar kriskbx commented on July 22, 2024

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)

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.