How Would I Get Place Likes and Dislikes?

Hey there, I want to make a in-game GUI that will display a like to dislike ratio. This is going to be really simple but the only issue is getting the likes and dislikes of the game. I know I need to use HTTP to get the values but I don’t know how to get about it. If you can help that would be appreciated, thanks!

1 Like

You’re going to need a proxy, I recommend the module called “ProxyService” by Froast. They include a tutorial on how to set it up and how to use it.

Once you’re done that, you can get the likes and dislikes by using the Game Api endpoints,
https://games.roblox.com/docs#!v1
Particularly these endpoints:

local univId = httpService:JSONDecode(module:Get('https://api.roblox.com/universes/get-universe-containing-place?placeid=7070459916').body).UniverseId
local result = httpService:JSONDecode(module:Get('https://games.roblox.com/v1/games/votes?universeIds='..univId).body)
print('Likes',result.data[1].upVotes,'Dislikes',result.data[1].downVotes)

Screen Shot 2021-09-30 at 6.41.47 PM

1 Like

am I able to do so without using this module, or is it more complicated?

I don’t think you can do it without a proxy as HTTP requests to Roblox and their API endpoints are blacklisted.

ohhhh, just realized rprxy doesent exist anymore

Yeah, not sure if any other public proxies exist but I highly recommend making a proxy as it’s useful for other things as well, such as bulk importing assets and live-updating stats. The benefit definitely outweighs the bad and it’s definitely worth putting in the effort as it’s absolutely possible that you will use it more than once. It’s also always there if you need it again in the future.

1 Like