Closed Luc1412 closed 4 years ago
Thanks for posting this! What token is used for GetManifest
?
When I try using my access token I get this error.
'Sorry your login does not posses the permissions \'launcher:download:Live:Fortnite READ\' needed to perform the requested operation'
I'm sorry but I can't help you. I never test or used this code. It only was published on the Fortnite Development Discord. The Endpoint could already be outdated.
Closing this since I dont feel like it fits with fortnitepy out of the box.
I get that this issue was closed, but in case anyone finds it and still needs to make it work for their own dev purposes:
This is missing the first call to get the right catalog item ID, from: https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/public/assets/Windows?label=Live
(which can in turn be used in GetManifest from the code above) All calls need either a regular fortnite/epic auth token, or no auth at all (target the catalog entries with no queryParams for that)
Feel free to @ me if you need anything, I've been using this process for over a year without problem.
@QuentinBellus What authentication token do you use? I get this error if I try to use my Epic access token.
Sorry your login does not posses the permissions 'launcher:download:Live:Fortnite READ' needed to perform the requested operation
@PomegranateApps I use this one, which is a different one from what I use for Fortnite -- It's probably for the launcher itself
MzRhMDJjZjhmNDQxNGUyOWIxNTkyMTg3NmRhMzZmOWE6ZGFhZmJjY2M3Mzc3NDUwMzlkZmZlNTNkOTRmYzc2Y2Y=
@QuentinBellus Thanks for the reply! That one doesn't work for me either.
Sorry we couldn't validate your token MzRhMDJjZjhmNDQxNGUyOWIxNTkyMTg3NmRhMzZmOWE6ZGFhZmJjY2M3Mzc3NDUwMzlkZmZlNTNkOTRmYzc2Y2Y=. Please try with a new token.
@PomegranateApps I do the regular login process (same flow as used in this lib), except for the call to /account/api/oauth/token I use that token mentionned before. Then you can use the result token for the next calls. If this doesn't work, DM me on discord Quentin#5000
It would be nice to have a function to download the gamefiles. Waddlesworth has already published how it works in JS:
__chunk_hash.js__
download.js