You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 13, 2018. It is now read-only.
Hi all,
I am trying to use the login API, but something goes wrong! :'(
Follow the code lines:
var futapi = require("fut-api");
var apiClient = new futapi();
function twoFactorCodeCb(next){
/* send your authentication code with the "next" method */
next("numeric code (6 digits) that I receive when I make changes to my profile account");
}
apiClient.login("xxxx@gmail.com","xxxpwdxxx","SECRET ANSWER to the secret question", "xone",
twoFactorCodeCb,
function(error,response){
if(error) {
return console.log(error);
}
console.log("logged in.");
Hi all,
I am trying to use the login API, but something goes wrong! :'(
Follow the code lines:
var futapi = require("fut-api");
var apiClient = new futapi();
function twoFactorCodeCb(next){
/* send your authentication code with the "next" method */
next("numeric code (6 digits) that I receive when I make changes to my profile account");
}
apiClient.login("xxxx@gmail.com","xxxpwdxxx","SECRET ANSWER to the secret question", "xone",
twoFactorCodeCb,
function(error,response){
if(error) {
return console.log(error);
}
console.log("logged in.");
Received error: "Error: Unknow response. Unable to login."
Please help me!
Thanks