I have an in-game promo/ad display for twitter handles/shout-outs but I had to verify that certain users are allowed to see it via Roblox’s PolicyService API and check that “Twitter” is included in the AllowedExternalLinkReferences array provided by the API call. So assume that I have it working.
However, it does not seem that “Twitter” is showing up as an AllowedExternalLinkReference element.
My account is 13+, my email & phone number are verified, and I can even put my own twitter handle on my profile, which is weird since I’m allegedly not allowed to see in-game Twitter links.
Can anyone give me a reason to why my account does not have permissions to viewing in-game twitter links? If its the case where I should have permissions, am I running the code incorrectly?
You can test how I accessed the array & your own permissions through this code:
local player = game.Players.<Your UserName>
local PolicyService = game:GetService("PolicyService")
local result, policyInfo = pcall(function()
return PolicyService:GetPolicyInfoForPlayerAsync(player)
end)
print(result)
for index, value in ipairs(policyInfo.AllowedExternalLinkReferences) do
print(index, value)
end
If anyone can see “Twitter” in their AllowedExternalLinkReferences array, please let me know. Otherwise, this needs to be an escalated issue with Roblox support. Thanks!