GithubHelp home page GithubHelp logo

Comments (3)

auctionsjeff avatar auctionsjeff commented on June 28, 2024

Steps I took to fix the same error:

  1. Log the $html variable as part of the "Could not parse" error log message
  2. Look in the log for the string "GALX".
  3. If it's there (was for me), update the RegEx to match the new string Google's ServiceLogin endpoint is producing now (it changed recently it seems).

See my PR for how I fixed the similar (same?) issue I had.

from google-voice-php-api.

matthewTa127 avatar matthewTa127 commented on June 28, 2024

What are you responding to?
On Dec 9, 2015 5:26 PM, "auctionsjeff" [email protected] wrote:

Steps I took to fix the same error:

  1. Log the $html variable as part of the "Could not parse" error log
    message
  2. Look in the log for the string "GALX".
  3. If it's there (was for me), update the RegEx to match the new string
    Google's ServiceLogin endpoint is producing now (it changed recently it
    seems).

See my PR #21 for
how I fixed the similar (same?) issue I had.


Reply to this email directly or view it on GitHub
#20 (comment)
.

from google-voice-php-api.

jamenlang avatar jamenlang commented on June 28, 2024

Google changed their html order of name/type/value to type/name/value.

if (preg_match('/type="hidden"\s_name="GALX"\s_value="([^"]+)"/', $html, $match))
$GALX = $match[1];

I would make a pull request, but i can't figure out how. this is as good as it gets.

from google-voice-php-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.