--/ OnCallInvoke. This code **SHOULD** run as intended.
--/ However, it returns the error "Experience must be at least one week old to place a call" regardless of experience age.
SocialService.OnCallInviteInvoked = function()
if RunService:IsStudio() then
-- Return a pre-generated access code if in studio since Roblox Studio cant generate access codes
local AccessCode = "pltg3tzRWHkq7Otoe2v-e_ky-zvuCHxLijcNMLXVs6jhvRPmAwAAAA2"
return {ReservedServerAccessCode = AccessCode, PlaceId = game.PlaceId}
else
return {ReservedServerAccessCode = TeleportService:ReserveServer(game.PlaceId), PlaceId = game.PlaceId}
end
end
Whenever I try to use the :PromptPhonebook() function from SocialService, it gives me an error that the experience isn’t older than 7 days even though it is:
Hi @Furxiety, thank you for the report! This was a bug that we have now fixed. I’ve tested the experience and it seems to be working again. Please let me know if you continue to run into issues.
Hey! Just to clarify, does this fix apply to Studio as well? I was able to place calls in Studio before, but now it seems to no longer work. Is that intended?
Hi @Furxiety. Apologies for taking a long time to get back.
In an attempt to make the API more secure, we’ve had to make some changes that affect Studio. For testing calling, you should be able to use the Team Test option to place a call. We’ll update the messaging so that it’s clearer that calling isn’t supported for the solo test.