Comments (3)
Steps I took to fix the same error:
- Log the $html variable as part of the "Could not parse" error log message
- Look in the log for the string "GALX".
- 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.
What are you responding to?
On Dec 9, 2015 5:26 PM, "auctionsjeff" [email protected] wrote:
Steps I took to fix the same error:
- Log the $html variable as part of the "Could not parse" error log
message- Look in the log for the string "GALX".
- 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.
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)
- Getting a blank screen on VM HOT 1
- Both getUnreadSMS() getReadSMS() appear to only return the first text of a "thread"
- It appears that only the first page of messages (10) are returned?
- BROKEN!!! HOT 2
- Affected by Google Voice API EOL? HOT 3
- Subject HOT 3
- It works locally and fails remotely HOT 17
- Could not parse for GALX token HOT 1
- Something Seems a Bit Different About the Way You're Trying to Sign in
- Login doesn't work any longer HOT 5
- Looking for new maintainer HOT 2
- Google is at it again
- Script stopped working: Could not parse for GALX or gxf token HOT 2
- Did he fall off the face of the earth? HOT 1
- "May need to change scraping" Error HOT 11
- Login doesn't work HOT 1
- I wanna know about to get in to google voice number right now
- "Could not log in to Google Voice with username" Error : Miss type of _cookieFile HOT 1
- Suggested additions to GoogleVoice.php HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-voice-php-api.