How to check if player follows me on Roblox?

Hi. I’m making a Roblox game, and I want to add some bonuses for players which following my Roblox account. Is there’s an API to check that without retrieving ALL player’s followers list? Help!

You may be interested in this.

try this out:

local HTTPService = game:GetService("HttpService")

local YourUserId = --Paste Your User ID here

function ReturnFollowers(UserId : number)
	local URL = "https://friends.roproxy.com/v1/users/"..UserId.."/followings"
	
	local GetInfo = HTTPService:GetAsync(URL)
	local Decode = HTTPService:JSONDecode(GetInfo)
	
	return Decode["data"]
end

game.Players.PlayerAdded:Connect(function(player)
	local Followers = ReturnFollowers(player.UserId)

for _,v in ipairs(Followers) do
	if v["id"] == YourUserId then
		print("This player follows you!")
		return
	end
end
end)
2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.