question

sowee avatar image
sowee asked

How to reward player for inviting friends from facebook (like candy crush) ? (Unity)

Hi, what would be the best way to reward a player for inviting facebook friends on Unity? Is it to use the facebook sdk for unity to manage the invitation part and then call a playfab API to reward the player? Thanks.

unity3d
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

·
brendan avatar image
brendan answered

You may want to look at our referral example (https://github.com/PlayFab/PlayFab-Samples/tree/master/Recipes/ReferralCodes) - it shows using referral codes to reward players for bringing each other into the game. An alternative would be to use Cloud Script with the Facebook calls, assuming they've provided Web API endpoints for each.

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.