Script to get a players favorited games not working

Hello I’m trying to get a players favorited games.
I really would pefer to not have to use a app or bot to get the information
I have this script to do this:

local HttpService = game:GetService("HttpService");
local remote = game.ReplicatedStorage.Favorites
remote.OnServerInvoke = function(plr, UserId)
	local followers = {};
	local url = ("https://www.roblox.com/users/favorites/list-json?assetTypeId=9&itemsPerPage=100&pageNumber=1&userId=261"):format(tostring(UserId))
	local success, output = pcall(function() return HttpService:JSONDecode(HttpService:GetAsync(url)) end);
	if not (success) then
		print("Error fetching fat stacks of info")
		return followers;
	end
	for _, v in pairs(output.data) do
		table.insert(followers, {
			name = v.name;
			displayName = v.displayName;
			userId = v.id;
		});
	end
	return followers;
end

But it keeps printing
Error fetching fat stacks of info
any fixes?

https://developer.roblox.com/en-us/api-reference/class/HttpService

  • Requests cannot be made to any Roblox website, such as www.roblox.com.

You need to issue the request via a proxy instead.

1 Like

Dude I’m not so sure I understand. What’s the URL by a premade bot? I don’t have to create it myself because someone else has already

I’m asking for a URL that exists already since I’m bad at looking for one, but I know there are a lot.

There are NON-Roblox URLs that are public to use, you just have to find them.