Code Monkey home page Code Monkey logo

Comments (22)

baskettcase avatar baskettcase commented on August 11, 2024 2

I would love it if things were updated with this library. I have most of my code using it and it's decently simple to use. Hashing server would make me feel a whole lot better since I use this library with real accounts just to get my pokemon IV's and movesets.

from pokemongoapi-php.

Droeftoeter avatar Droeftoeter commented on August 11, 2024 1

100 means SESSION_INVALIDATED as far as I know. Basically it happens when the first request isn't also signed. The first request needs to be signed with the AuthInfo's token, the requests following that need to be signed with the AuthTicket.

from pokemongoapi-php.

voxx avatar voxx commented on August 11, 2024 1

0.45 is officially dead. (uk25 value for 0.45 is no longer valid as of today)

However api calls utilizing uk25 value for >0.45 to 0.57.2 still work even with completely invalid hashing. (Paid hashing key is not required to get a valid response back.)

uk25 value is known for all versions including 0.57.2, so that's not a problem.

@Droeftoeter You're PR was on the right track, but just wasnt quite right yet. I messed around with it for a couple nights but wasn't able to fully wrap my head around the proper flow and structure in order to fix it.

I'm happy to lend a hand to help rebuild it if there's interest, but I don't think I'm going to be able to do it without someone elses help who knows a little more about the proper login flow and structure.

Most of the other API's have solved it, so the code is readily available to rip out and translate, it's just going to take some time and effort from a few of the php folks to make it happen.

I had to switch to the python api for handling captcha solving logic for my map feed, but I'd love to resurrect the php api if theres still anyone around that's able/willing to step in and help.

-voxx

from pokemongoapi-php.

Droeftoeter avatar Droeftoeter commented on August 11, 2024 1

@voxx I've solved it in my own API, but 0.57.2 itself requires a hashing server. If I have time I can try to redo the PR for this lib, and also add the 0.57.2 UK25 value.

from pokemongoapi-php.

xmillies avatar xmillies commented on August 11, 2024 1

@Droeftoeter. Still no time ?
I think we have no other choice than to add support hashing server .

from pokemongoapi-php.

NicklasWallgren avatar NicklasWallgren commented on August 11, 2024

That particular error occurs when you send blank authinfo. Did you authenticate properly?

from pokemongoapi-php.

voxx avatar voxx commented on August 11, 2024

Hey @NicklasWallgren

I just started getting this same response on ALL checkChallenge and verifyChallenge requests. Nothing in my code has changed at all, but today it started throwing that error for every call.

screen shot 2017-02-14 at 1 55 22 pm
screen shot 2017-02-14 at 1 52 12 pm

-voxx

from pokemongoapi-php.

voxx avatar voxx commented on August 11, 2024

Looks like pogodev is working on fixes for other API's. Niantic is now validating Platform_Requests on login.

ejwfwcsnwyamanbdubcwmb-s0qeqrbbesgbh51r19773fc-6xc4a86rdqeokpnyhicdktcg6rr1kmifjpg6vmfnud-lmymjctgguog1gxmcotadwivqlftbzb6j651vkpzb4yzr4bqbf4bahynmr-p0bwuunva 4wo47mhuzpbbawcp-phfggautjm

from pokemongoapi-php.

voxx avatar voxx commented on August 11, 2024

Additional notes from Leah.

almost all API's don't send it on request 1
without it, you don't get an endpoint

the very first request now requires unknown6 to be passed in

from pokemongoapi-php.

hwiVeloper avatar hwiVeloper commented on August 11, 2024

@NicklasWallgren I already wrote auth info. hmm... I'll try it again and ask again :)
@voxx Does your source work now? I should try again..

from pokemongoapi-php.

NicklasWallgren avatar NicklasWallgren commented on August 11, 2024

Thanks for the info @voxx. I'll have to take a look into the problem.

from pokemongoapi-php.

NicklasWallgren avatar NicklasWallgren commented on August 11, 2024

@voxx Do you know if the signature has to be valid?
This could be a problem since this library does not currently support "PlatformRequests" or any of the available hash providers.

from pokemongoapi-php.

gracefullight avatar gracefullight commented on August 11, 2024

Retrieved a unknown status code 100
I have the same problem.
Nothing in my code has changed at all, but today it started throwing that error for every call

(certified by Google ID)
$pokemonGoApi = $application->getPokemonGoApi();

// $this->logger->info('profile');
$profile = $pokemonGoApi->getProfile(); // <= Nothing here.

// $this->logger->info('get profile data');
$profileData = $profile->getData(); // <= Throw Error

from pokemongoapi-php.

voxx avatar voxx commented on August 11, 2024

@NicklasWallgren

I don't believe it actually has to be valid. Many of the API's are still using 0.45 api without hash server, so I'm assuming they aren't passing completely valid signature. (Not 100% positive, but fairly certain of this.)

I don't think we need to implement hash server support at this point, but we need to refactor login to include "PlatformRequests". I can probably help cherry pick out the relevant changes from pogoapi / rocketmap that were implemented a few weeks back that cover this aspect if you need me to.

-voxx

from pokemongoapi-php.

baskettcase avatar baskettcase commented on August 11, 2024

Yes Im having this problem today also.

from pokemongoapi-php.

baskettcase avatar baskettcase commented on August 11, 2024

Any news on this one?

from pokemongoapi-php.

sDenizhan avatar sDenizhan commented on August 11, 2024

Is there a solution for this problem ?

from pokemongoapi-php.

baskettcase avatar baskettcase commented on August 11, 2024

Does this library have those capabilities @Droeftoeter, @NicklasWallgren ?

from pokemongoapi-php.

sDenizhan avatar sDenizhan commented on August 11, 2024

@Droeftoeter it was working before last update. After that, i think somethings changed by Niantic. The AeonLucid, creator POGOProtos, updated his github repo after last update.

from pokemongoapi-php.

hwiVeloper avatar hwiVeloper commented on August 11, 2024

I heard that Niantic updated api. So, this repo has to be updated soon.

from pokemongoapi-php.

Droeftoeter avatar Droeftoeter commented on August 11, 2024

Yes, basically they're slowly phasing out support for 0.45

from pokemongoapi-php.

xmillies avatar xmillies commented on August 11, 2024

@Droeftoeter . Do you have time to redo the PR for this lib ?

from pokemongoapi-php.

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.