EpicGraphQL icon indicating copy to clipboard operation
EpicGraphQL copied to clipboard

Can I retrieve status of friends on Fortnite using GraphQL?

Open sguzman opened this issue 1 year ago • 0 comments

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!

sguzman avatar Aug 31 '23 00:08 sguzman