Google Voice SMS API based on PHP

Source: Internet
Author: User
Tags php class

Google Voice does not provide an official API interface, but it can actually be done by means of HTTP and XML requests. Most of the APIs currently available on the Web are ultimately traced to Chad Smith's theme post.

To send SMS through Google Voice, first login to Google Voice account, and then take out the page "_rnr_se" parameters, and finally this parameter and the other cell phone number, SMS content post to Google Voice SMS address can. Tyler Hall once wrote a Google Voice PHP class, but I tried it unsuccessfully, always stuck in the process of logging into Google Voice. I've developed this class for two times and rewritten most of the code.

After a practical attempt, instead of using Chad Smith's XML request address, we used the mobile terminal version of Google Voice to request the address and changed the parameters of the post request as needed, and finally got a Google Voice SMS delivery tool based on PHP, Call address in http://www.lostleon.com/tools/googlevoice/, project address in http://phpgooglevoice.googlecode.com/.

Unfortunately, the sky Wing 189th code is not supported by Google Voice. Move the 158th code test pass.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.