开发者

Do any Google Voice APIs still work?

I am interested in writing a simple CLI program that will send an SMS using Google Voice.

There are several scripts and an API or two available, but I have run into an issue that none of them seem to work any longer; as they mostly rely on parsin开发者_Python百科g returned web pages.

Is anyone familiar with a current API that works so that I can send an SMS on Google Voice?

Thanks!


Looks like Google Voice changed the login procedure, and it now expects you to pass back a cookie. This issue for the Python wrapper sums it up: http://code.google.com/p/pygooglevoice/issues/detail?id=60

UPDATE AND FIX: Actually all that needs to happen is to change the login URL in your code:
Old URL - https://www.google.com/accounts/ServiceLoginAuth?service=grandcentral
New URL - https://accounts.google.com/ServiceLogin?service=grandcentral

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜