Sunday 1 February 2015

Whatsapp for sharing your Posts, Whatsapp PHP API for Wordpress, Whatsapp for Wordpress

We can see many sharing services like Addthis, Sharethis have already integrated the Whatsapp sharing services in their stream.


But it wont work in the Desktop version, as Whatsapp will work in latest Iphone and Chrome version. May be in the future days they will set the API for web sharing, but for now there is no such options in Whatsapp as well as in other Social Sharing Sites.

Ok, but we can do the sharing. Please refer this https://github.com/venomous0x/WhatsAPI, they are having the API to send the Whatsapp message from a mobile to other mobile.

Ok, here is the steps to set your API:


  • First we need to register our Mobile number with WART (https://github.com/shirioko/WhatsAPI/wiki/WhatsApp-Registration-Flow), check this site.


  • Once you register you will get a SMS code confirmation


  • We need to set the Code confirmation again in the same registration form and once set we will get the below 


  • Username
  • Password
  • Identity
         and this is what we need for the API



Please set the credentials inside the exampleFunctional.php file, and set the [$target] target mobile number to which you want to send your blog titles/ URLs.

The target numbers will get the Whatsapp Message from our WART registered Mobile number.


This Github URL is providing all the variables set for Whatsapp API from venomous0x
https://github.com/shirioko/WhatsAPI/wiki/WhatsApi-events

--------------------------------------------------------------------------------------------------------------------

We can use this API and integrate with our Blogger or Wordpress sites, we can set some AUTO system and send the messages to the Subscribed mobile numbers once we post a new articles in our site.


YES WHATSAPP IS WORKING.


--------------------------------------------------------------------------------------------------------------------

Why Whatsapp is not working in my ADDTHIS share code?

That is because it will be get worked inside the mobile device only with latest OS and CHROME versions. Also while referred to different forums, it is detailed that it will get worked in the latest Iphone devices.

If we run the Addthis - Whatsapp share inside the desktop version we will get the below link and it wont get worked

http://whatsapp//send?text=***************************************




Happy coding...













2 comments:

  1. This is really a very good article. Thanks for taking the time to discuss with us, I feel happy about learning this topic. keep sharing your information regularly for my future reference.

    ReplyDelete
  2. Thank you for taking the time to publish this information very useful!
    interesting article . greetings blog.very nice.it helps me a lot.Very interesting article, really. I visit again here to see more.Thanks for sharing this valuable information with us it is really helpful article!Yes you are right because I already tried this and the results were awesome and amazing. Keep it up buddy.insomnia status for whatsapp.
    WhatsApp API

    ReplyDelete