GitHub not showing in AllowedExternalLinkReferences

So I’m trying to see the local player’s AllowedExternalLinkReferences, and everything shows up for me except GitHub. I’m over 13 and in the United States, so I can access it online even though it doesn’t show up in Studio.

Code (local script in StarterPlayerScripts):

local PolicyService = game:GetService("PolicyService")

local plr = game.Players.LocalPlayer
local policyInfo = PolicyService:GetPolicyInfoForPlayerAsync(plr)
local allowedLinks = policyInfo.AllowedExternalLinkReferences

print(allowedLinks)
if table.find(allowedLinks, "GitHub") then
	print("Can use GitHub")
end	

Output:

   ▼  {
       [1] = "Discord",
       [2] = "YouTube",
       [3] = "Twitch",
       [4] = "Facebook",
       [5] = "X",
       [6] = "Guilded"
   }  -  Client - GitHubCheck:7

As you can see from the output, GitHub isn’t in the table, and "Can use GitHub" is nowhere to be seen either. Anyone know what’s wrong?

This is because GitHub is not included in the list of AllowedExternalLinkReferences for your account’s policy. Even though you meet the age requirement and are in the United States, this might be because of limitations in the PolicyService or the way the policies are applied to different platforms.

1 Like

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