SocialService.GameInvitePromptClosed confusion?

Hey, was making a simple system that if you invite a friend you can get a reward and this can only be done every so often to avoid spam.

Using social service obviously I connected a function to the SocialService.GameInvitePromptClosed event like this:

SocialService.GameInvitePromptClosed:Connect(function(sender, sentTo)
   if #sentTo > 0 then 
     -- Code here
   end
end)

The issue is that the array for the recipients or in this case ‘sentTo’ is always empty? Regardless of my invites.

This is in a local script, I tried in a server sided script aswell.

Just wondering if there was a reason for this? Seems like a pretty easy function to use so not sure whats going on here.

Hej

Have you tested this in game? I have a feeling that if you do it in studio it wont contact the appropriate web apis correctly.

Yeah, didnt work in game either.

Testing it in studio, i get the same issue. I have a feeling this is related to the current service issues roblox is facing

It could be, but I tested this before the current issues and it didn’t work then either.

hey, sadly this feature is disabled.