Google-Voice-PHP-API icon indicating copy to clipboard operation
Google-Voice-PHP-API copied to clipboard

Script stopped working: Could not parse for GALX or gxf token

Open civilordergone opened this issue 6 years ago • 2 comments

The script was working earlier but stopped.. It throws this error now.

An uncaught Exception was encountered
Type: Exception

Message: Could not parse for GALX or gxf token. Inputs from page: array ( )

Filename: /usr/share/nginx/html/application/libraries/Gv_lib.php

Line Number: 55

Backtrace:

File: /usr/share/nginx/html/application/libraries/Gv_lib.php
Line: 159
Function: _logIn

File: /usr/share/nginx/html/application/controllers/Notification.php
Line: 42
Function: sendSMS

File: /usr/share/nginx/html/index.php
Line: 292
Function: require_once

..It might have something to do with this:

curl https://accounts.google.com/signin/challenge/sl/password
<HTML>
<HEAD>
<TITLE>Moved Temporarily</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Moved Temporarily</H1>
The document has moved <A HREF="https://accounts.google.com/ServiceLogin">here</A>.
</BODY>
</HTML>

I've tried setting the post sign-in $URL to be: https://accounts.google.com/signin/v1/lookup to no avail.

civilordergone avatar May 27 '18 20:05 civilordergone

i submitted a pull request to 'fix' this

jamenlang avatar Aug 29 '18 21:08 jamenlang

hi jamenlang i have tried your code as well now it gets stuck on line 73 : $html = curl_exec($this->_ch); Flow location : After password is submitted to google & just before we call that "grandcenteral" url. It now redirects to this error: The browser that you're using doesn't support JavaScript, or has JavaScript turned off And i guess it destroy the session created so after that line nothing works as expected.

Have u been able to fix it ?

programmer007007 avatar Jan 19 '19 18:01 programmer007007