Google voice PHP OAuth 2.0
问题 I once used a PHP Class Library to connect to Google Voice to send SMS Text Messages. The call would work something like this: $gv = new GoogleVoice("GmailAccount", "GmailPassword"); $gv->sms("PhoneNumber", "TextMsg"); It worked flawlessly until recently, as of 4/20/2015, Google stopped supporting old methods of logging in to Google account. So my script stopped working giving 500 error. Google says you have to use OAuth 2.0 to authenticate however I haven't found any examples online on how