<< Back to Programming Forum   Search

Posts 1 - 5 of 5   
New player links - Need invite tokens: 12/20/2022 20:13:17


Norman 
Level 58
Report
Hi guys,

the player URLs used to be like this: https://www.warzone.com/Profile?p=55137380704
But now it is https://www.warzone.com/Profile?u=Sir_Sneezy_1 and when I type the link above it changes to that.

My problem is that I'm automatically creating games between clan mates for which I use the create game API https://www.warzone.com/wiki/Create_game_API which uses the player invite tokens and which used to be part of the URL.

I can find out my own invite token via the following endpoint: https://www.warzone.com/InviteToken.

How can I find out the invite token of other players or do I need to ask them? Also is that new change not a problem if players change their username due to old links breaking then?
New player links - Need invite tokens: 12/20/2022 20:15:35


FiveSmith 
Level 60
Report
You can still get the profile_ids from various links in the profile page.
But not sure, if that will stay forever.
Plus there is a userscript by JK, which adds profile_id to a more visible position within the page. https://greasyfork.org/en/scripts/456844-profileid-on-profile

Edited 12/20/2022 20:16:15
New player links - Need invite tokens: 12/20/2022 20:16:30


JK_3 
Level 63
Report
Also is that new change not a problem if players change their username due to old links breaking then?

Yes, that is indeed a problem.

I have a quick and dirty script at https://greasyfork.org/en/scripts/456844-profileid-on-profile that puts the ID back on the profile.
New player links - Need invite tokens: 12/20/2022 20:29:16


Norman 
Level 58
Report
Thanks guys, I can work for example with the report link which still points to the invite token / player ID. I'm obviously a minority with creating automatic games but if player links indeed break it does not look like the most thought out feature to me at first glance.
New player links - Need invite tokens: 12/21/2022 01:16:06


DanWL 
Level 63
Report
(Edit: removed link because the profile page isn’t an API)

Edited 12/21/2022 09:27:29
Posts 1 - 5 of 5