Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for Microsofts new Friend system #109

Open
vertyco opened this issue Nov 8, 2024 · 2 comments
Open

Adding support for Microsofts new Friend system #109

vertyco opened this issue Nov 8, 2024 · 2 comments

Comments

@vertyco
Copy link

vertyco commented Nov 8, 2024

Apparently there is the following system AND a friend request system now.

Following someone is not the same thing as adding them as a friend now, which has completely broken some automation I've been using this package for. Has anyone run into this issue already?

I know its pretty recent and this repo doesn't see a lot of updates, but I work as a dev for a living so if anyone knows what the endpoints are I'd be happy to make a PR for this, I just cannot find any info on it yet.

@Sat727
Copy link

Sat727 commented Nov 19, 2024

It seems to send a friend request, the endpoint would be:

PUT https://social.xboxlive.com/users/xuid(CLIENTXUID)/people/friends/v2/xuid(TARGETXUID)

with no data in the body

To revoke a friend request, or unadd somebody it would just be a DELETE request.

For a follow request it would be:

PUT https://social.xboxlive.com/users/xuid(CLIENTXUID)/people/xuid(TARGETXUID)

with no data in the body

@vertyco
Copy link
Author

vertyco commented Nov 21, 2024

Thanks for the response, I ended up figuring out what the new endpoints were and just subclassing the xbox client class for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants