Search code examples
apivoice

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 parsing returned web pages.

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

Thanks!


Solution

  • 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