Comments (14)
Looks like someone posted a new php project with the code we are after: https://github.com/InkedCurtis/FUT18-WebApp-Connector/blob/master/traits/Login.php
from php-fut-api.
Looks like the postTwoFactorForm() is broken, returns invalid request. Can you have a look @JKetelaar ?
Returns Invalid request. I changed the token variable to OneTimeCode as they renamed it.
from php-fut-api.
That would be great. Any news?
from php-fut-api.
I'm interested to contribute. May be you can give more info about how you did this for the 2017 version ?
from php-fut-api.
Itβs probably just a matter of changing the Api values. Just as the change from 16 to 17.
Most of it is stored in Configuration I think, but this project has been a while ago for me.
from php-fut-api.
I checked some of the URLs and fixed them locally to see if it works as well for fut18.
Seems to me like they changed the login-page containing some random-key in the URL so it might get a little tricky.
from php-fut-api.
Thanks for the update @maxruppel, I'll take that in mind. It's probably generated content that can be grabbed from another page.
from php-fut-api.
I tried to update the URLs and config files but I got stucked here
Fatal error: Uncaught JKetelaar\fut\api\errors\login\MainLogin: Unable to login with unknown response With the following message: Unknown error/page occurred (Invalid Request) With error code: 281752 in \src\JKetelaar\fut\api\user\Login.php:416 Stack trace: #0
\src\JKetelaar\fut\api\user\Login.php(98): JKetelaar\fut\api\user\Login->postTwoFactorForm('https://signin....') #1 \src\JKetelaar\fut\api\API.php(270): JKetelaar\fut\api\user\Login->login() #2 index.php(10): JKetelaar\fut\api\API->login() #3 {main} thrown \src\JKetelaar\fut\api\user\Login.php on line 416
from php-fut-api.
The signin link is now generated by a javascript now in order to beat tools like this. As I know php is not able to process javascript code
from php-fut-api.
The web-app stopped working on my Firefox and I had no clue way. I just noticed that it now detects the Firefox addon that I had installed: HTTP LIVE HEADERS and it stops working. As soon as disabled the add-on, it started working again. Another protection
from php-fut-api.
Thanks for the investigation @suckedjs, though we'll need to see what the JavaScript actually generates then, as that could possibly be faked with any other programming language.
from php-fut-api.
Thanks, I'll take a look at it this weekend. Will keep you updated!
from php-fut-api.
any updates?
from php-fut-api.
@suckedjs - take a look here : https://github.com/InkedCurtis/FUT-API
from php-fut-api.
Related Issues (20)
- Write tests for login
- Add documentation/examples
- unexpected '.', expecting ' HOT 16
- Function to relist tradepile? HOT 6
- How to access players sent to the tradepile? HOT 2
- Login HOT 1
- How to use the API?
- List Item function HOT 7
- get TradeID HOT 1
- Search for players HOT 7
- Session HOT 5
- Search for starting price and/or buy price HOT 1
- Use the same instance API on multiple pages. HOT 5
- thxxxxxxxxxxx! JKetelaar ,you are so great HOT 1
- how to buy a player HOT 20
- totp_callback Function HOT 5
- Fatal Error when calling $handler->getTradepile() HOT 2
- SBCs HOT 3
- Hi , how to contact you? I want to invite you develop a project about fut api. HOT 4
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 php-fut-api.