Tectors / EpicGraphQL

Research about the Epic's non-documented Graphql API and main API, using Fiddler and Developer Tools to find requests and add them.
MIT License
39 stars 6 forks source link

Can I retrieve status of friends on Fortnite using GraphQL? #12

Open sguzman opened 1 year ago

sguzman commented 1 year ago

Hello!

I started working on my own little program that monitors the online status of my friend groups. Is it possible to retrieve whether someone I am friends with is online on Fortnite using GraphQL?

So far, I am exploring (using fiddler classic) some graphql endpoints and have seen the following (abbreviated) query that may be what I am looking for:

query friends($displayNames: Boolean) { Friends { summary(displayNames: $displayNames) { friends { account { id displayName displayNameType externalAuths { type externalAuthId externalAuthIdType externalDisplayName authIds { id type typename } typename } typename } typename } incoming { account { id displayName displayNameType externalAuths { type externalAuthId externalAuthIdType externalDisplayName authIds { id type typename } typename } typename } typename } outgoing { account { id displayName displayNameType externalAuths { type externalAuthId externalAuthIdType externalDisplayName authIds { id type typename } typename } typename } typename } blocklist { account { id displayName displayNameType externalAuths { type externalAuthId externalAuthIdType externalDisplayName authIds { id type typename } typename } typename } typename } typename } typename } }

Sorry for the bad formatting. There are four items under summary: friends, incoming, outgoing, blocked. They mostly share the same fields. I have tried poking around and guessing what the online status would be called. I have tried "isLoggedOn" and "minorStatus". They are legitimate fields but not what I am looking for. "isOnline" and "status" do not work.

So is possible to find the online status of friends? Maybe it's not available via graphql?

Thank you!