question

yogev avatar image
yogev asked

about azure cloud function

Hey, on the azure function do I need to set PlayFabSettings.staticSettings.DeveloperSecretKey and PlayFabSettings.staticSettings.TitleId?

apis
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

·
Xiao Zha avatar image
Xiao Zha answered

Whether you set them or not depends on how you call the API in the Azure Function. There are two ways to call APIs in AzureFunction, one is, for example, PlayFabServerAPI, and another is, for example, PlayFabServerInstanceAPI. For the former, you may need to set the set PlayFabSettings.staticSettings.DeveloperSecretKey and PlayFabSettings.staticSettings.TitleId. For the later, you don’t have to set them. You could refer to Where to set DeveloperSecretKey for Azure PlayFabServerAPI calls - Playfab Community to have more information.

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.