How to join game from browser via placeId?

I tried this link, but this not work: “roblox-player://1+launchmode:play+gameinfo:0+placelauncherurl:” .
I know there is exist post method, but I think there is exist faster and easier solution

1 Like

Did you give the link a place id?

sure I did it, Is it work for you?

Nope, it gives me this:

Now I’ll add a custom place id.

put in game id like this “920587237”

Oh, I already did with Bedwars, here’s what I got:

oh, so I think you need add cookies in header

I don’t know what that means or how to do it.

I will try it and after I will update info about it

1 Like

Here’s some information that might help you:

uh, unreal. they just block request, if request was sent outside roblox site

I think this isn’t bug. Is it?

Automatically joining places by visiting an URL is not user friendly, not being able to do so is probably intended.
However you can create a private server link and share with your friends so they can join automatically.

Yeah maybe not but it still dosent belong to #help-and-feedback:scripting-support

the easiest solution:

  1. press F12
  2. click on console tab
  3. type in: Roblox.GameLauncher.joinMultiplayerGame(PlaceID)
  4. press enter

You can use Roblox’s game.Players.PlayerAdded event to get their Player object and Player has a UserId property.
From the UserId you can get their name and avatar like this:
local ok, result = pcall(function()
return game:GetService(“HttpService”):GetAsync(“"..player.UserId.."/avatar”, true)

if ok then
local info = game:GetService(“HttpService”):JSONDecode(result)