-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error code: 281658 #33
Comments
Thanks for the report, I'm having the same issue. I'll investigate this and solve this ASAP. |
Hi @JKetelaar, Great work! Does login with App Authenticator work? What about SMS? Can anybody confirm this? If I can help you out let me know! Edit: Then I got this error. It seems that How do we get the new one? 😄 |
I'm using App Authenticator personally, so that used to work back when I made this. When I'm back, I'll fix this issue! |
Any news? |
Unfortunately App Authenticator is also not working. Can you tell me how we find out the new |
the LOGIN_ACCOUNTS url is the same for me, I just fired up Live HTTP Headers (firefox addon) while I was logging in. Something else has changed but not sure what. |
It seems that the request for getting the account information needs to have a https://github.com/baselbers/PHP-FUT-API/commit/1517acb464a4a1dea82e901d798afe8b5065e73e I've tested with Advanced Rest Client extension for Chrome. When I use the cookie from real fut web app, the extension gives me a non-zero |
The request needs to have a cookie with |
I believe the problem is before getFUTPage() gets called. Now after you submit your details via curl->post, the response is a javascript redirect which redirects to the same page, over and over again. |
I found a solution to the problem, it's a bit sketchy now, so I'll clean the code and push it to a new release. Thanks for all the investigations btw 😄 |
You're welcome. 😸 |
Did you got the time to look into it? Eager to use it! 😄 |
same here, I have so many non-rare golds to sell and I want to use the script to do it. |
Which platform do you play @suckedjs and what division? |
xbox one. div 1. you? |
PC with Xbox One controller. Division 3, but just started playing a month ago. |
Sorry for the delay, I'll try pushing the update today! |
that's great news! |
Please try the latest release (0.0.6) |
how do I download the latest version? |
Just use composer. 😄 |
right! got it to work but how do you get the verification code? |
I just used the email verification but now I get this error: |
That's because The request If you have the correct @JKetelaar You did not resolve the issue. 😞 |
http://pydoc.net/Python/fut/0.1.3/fut.core/ |
Latest version seems to be working for me. Could you try clearing your cache? |
Of course I've tried clearing cache. |
same error here, EASW_ID always 0, maybe it has something to do with the fact that my account has two fut accounts? pc and xbox one? what platform are you on, @JKetelaar ? |
I've tested this before with Advanced Rest Client and it was working with the modifications mentioned earlier. |
I found the problem, in order to get a non 0 EASW_ID you have to add the following headers to the curl->get request:
|
So you fixed it? Or still 500? |
works for me. Add the headers and let me know. Nice to see "We're logged in!" on my screen. Btw all those functions need a proper tutorial. I'm still figuring out how to use the trading functions. |
Does not work for me. It does not make any sense to me to add those headers because they are already added when setting up curl. Does pc platform work for you? Can you send me your code to authenticate? |
Not sure how to test on pc as I only had an fut account in 2013 (fut 13). I can send you my Login.php file as this is the only file I changed. |
Please share a link to the file. |
for example in the readme file there is an example that gets the tradepile items, how do I loop all of them and get only the players? I know that I have to compare the itemType of each item and the ones that are "player", should do something with them but how do I achive this with the functions provided in the API? |
I ment your index.php file. What method do you use? Email, SMS or App authenticator? |
I am using the index.php file provided in the readme. I just added my account details, email, pass, secret and console. Passed true as the last argument. |
Your problem could be at selecting the persona. What error do you get now? |
Still 500. No EASW_ID. 😞 |
No, i wrote an function that grabs the code from my email. Is there aj way to generate the tokens and supply them to the api class?
secret? as in secret answer of the fut account?
… On 18 Mar 2017, at 21:00, Bas Elbers ***@***.***> wrote:
Still 500. No EASW_ID. 😞
I'm testing with App Authenticator, but tried to many times so have to wait a couple of minutes.
So you use the App Authenticator right? You change the 'SECRET' in function everytime you login right?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Quick questions to debug this further:
|
@suckedjs you need to reconfigure App Authenticator on your ea account and use the secret key below QR-code. Put the secret key into the @JKetelaar Please add this to your README.MD, because this has taken us hours to find out. 😞 I am trying to simply relist my tradepile items.
This is getting to annoying. No documentation means to much work with trial and error. |
So is login working or what? |
|
@baselbers can you add me on skype? same username as here. |
baaaaas89 |
ERROR:
Fatal error: Uncaught JKetelaar\fut\api\errors\login\MainLogin: Unable to login with unknown response With the following message: Page not matching login form page () With error code: 281658 in C:\xampp\htdocs\rangos\src\JKetelaar\fut\api\user\Login.php:352 Stack trace: #0 C:\xampp\htdocs\rangos\src\JKetelaar\fut\api\user\Login.php(96): JKetelaar\fut\api\user\Login->postLoginForm('https://signin....') #1 C:\xampp\htdocs\rangos\src\JKetelaar\fut\api\API.php(123): JKetelaar\fut\api\user\Login->login() #2 C:\xampp\htdocs\rangos\prueba2.php(8): JKetelaar\fut\api\API->login() #3 {main} thrown in C:\xampp\htdocs\rangos\src\JKetelaar\fut\api\user\Login.php on line 352
CODE:
I'm running this code on localhost/Xampp. Installed this plugin with composer.
Thanks in advance :)
The text was updated successfully, but these errors were encountered: