qlaffont / fortnite-api

Fortnite API, Get Stats, News And Status
https://twitter.com/qlaffont
MIT License
352 stars 85 forks source link

Token have changent #168

Closed PsychoPast closed 5 years ago

PsychoPast commented 5 years ago

I didn't yet find Fortnite one. But here is the Launcher's one: MzRhMDJjZjhmNDQxNGUyOWIxNTkyMTg3NmRhMzZmOWE6ZGFhZmJjY2M3Mzc3NDUwMzlkZmZlNTNkOTRmYzc2Y2Y=

qlaffont commented 5 years ago

Actually, the other token is working. If it will not working, I will change it to Readme.

PsychoPast commented 5 years ago

Not working. I always get with the old tokens "forbidden error"

On Sun, Jan 20, 2019, 15:10 Quentin <notifications@github.com wrote:

Actually, the other token is working. If it will not working, I will change it to Readme.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/qlaffont/fortnite-api/issues/168#issuecomment-455865322, or mute the thread https://github.com/notifications/unsubscribe-auth/AgAsK-fHiJjkgsJzeXheTVuxF5lGzlnHks5vFGrPgaJpZM4aJmhO .

qlaffont commented 5 years ago

What is your token you used actually ?

PsychoPast commented 5 years ago

The one in readme.md. It gives me an error

On Sun, Jan 20, 2019, 15:21 Quentin <notifications@github.com wrote:

What is your token you used actually ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/qlaffont/fortnite-api/issues/168#issuecomment-455866088, or mute the thread https://github.com/notifications/unsubscribe-auth/AgAsK9zswf-PP1etZBOxoCEewMC3UDmpks5vFG1IgaJpZM4aJmhO .

qlaffont commented 5 years ago

As you can see, everything is working when I run tests. Can you provide the piece of code you execute please ?

qlaffont commented 5 years ago

https://ibb.co/BKjB84w

PsychoPast commented 5 years ago

const Fortnite = require("fortnite-api");

let fortniteAPI = new Fortnite( [
"christophermadi.mls@gmail.com", "Christopher12345", "MzQ0NmNkNzI2OTRjNGE0NDg1ZDgxYjc3YWRiYjIxNDE6OTIwOWQ0YTVlMjVhNDU3ZmI5YjA3NDg5ZDMxM2I0MWE=", "ZWM2ODRiOGM2ODdmNDc5ZmFkZWEzY2IyYWQ4M2Y1YzY6ZTFmMzFjMjExZjI4NDEzMTg2MjYyZDM3YTEzZmM4NGQ=" ], { debug: true } );

fortniteAPI.login().then(() => { fortniteAPI.getStore("fr") .then(store => { console.log(store) }).catch(err => { console.log(err) }) });

Voilà! Voici mon code

PsychoPast commented 5 years ago

Pour plus de détails: j'ai creer un Visual Studio file dans le Folder fortnite-api-master. Et dans visual studio j'ai écrit ce code et l'ai exécuter. Et bien sur avant j'ai fait npm install fortnite-api

qlaffont commented 5 years ago

First, your code is not updated with the last version of Fortnite API. I have tried with your credentials, but you are blocked by Epic Games API. (Your account is ban? Have you tried to connect you in Game to check if you have any problem? Your new token doesn't work at this time. I have tried with my account.

PsychoPast commented 5 years ago

I created the account today as a test(I don't want to use my main account). I verified the email/log in in Epic Games Launcher. All is fine.

On Sun, Jan 20, 2019, 15:42 Quentin <notifications@github.com wrote:

First, your code is not updated with the last version of Fortnite API. I have tried with your credentials, but you are blocked by Epic Games API. (Your account is ban? Have you tried to connect you in Game to check if you have any problem? Your new token doesn't work at this time. I have tried with my account.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/qlaffont/fortnite-api/issues/168#issuecomment-455867645, or mute the thread https://github.com/notifications/unsubscribe-auth/AgAsK9N-LW7H2b7LcJawRsAGLFoSU95pks5vFHJggaJpZM4aJmhO .

PsychoPast commented 5 years ago

Can you send me the correct code pls? And for the new token , when I tested with Fiddlee I got the one I put above

DanyIonut2580 commented 4 years ago

heyy i need api token