1024programmer Java GoogleVoice SMS API based on PHP

GoogleVoice SMS API based on PHP

Google Voice does not provide an official API interface, but it can actually be implemented through HTTP and XML requests. Most of the APIs that can be found on the Internet are traced back to this topic post by Chad Smith.

To send text messages through Google Voice, you must first log in to your Google Voice account, then take out the “_rnr_se” parameter from the page, and finally POST this parameter, the other party’s mobile phone number, and the text message content to the Google Voice SMS address. Tyler Hall once wrote a php class for Google Voice, but it was not successful when I tried it. I was always stuck in the process of logging in to Google Voice. I developed this class a second time and rewrote most of the code.

After actual attempts, I did not use Chad Smith’s XML request address, but used the mobile terminal version of Google Voice request address and changed the parameters of the POST request as needed, and finally got a Google Voice text message sending tool based on PHP,The calling address is at http://www.lostleon.com/tools/googlevoice/, and the project address is at http://phpgooglevoice.googlecode.com/.

Unfortunately, Tianyi 189 number is not supported by Google Voice. Mobile 158 number test passed.

This article is from the internet and does not represent1024programmerPosition, please indicate the source when reprinting:https://www.1024programmer.com/googlevoice-sms-api-based-on-php-2/

author: admin

Previous article
Next article

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索