question

bfg avatar image
bfg asked

PlayFab and S2S callbacks?

I am integrating a monetization SDK that offers S2S callbacks and I am wondering if I can call a cloud script similar to how I can do actions via http requests?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Hernando avatar image
Hernando answered

Yes, you can make webhook calls from CloudScriptto any Web API endpoint, using standard Representational State Transfer (REST) calls, more information please see: https://docs.microsoft.com/en-us/gaming/playfab/features/automation/cloudscript/making-webhook-calls-from-cloudscript

Besides, it must be noted that, the response from external server may be a little slow in some cases, which results in exceeding the execution time limit, and the script will exits at that point. Brendan provided detailed instructions here: https://community.playfab.com/questions/12524/what-happens-when-youre-exceeding-the-cloudscript.html

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.