question

lolaki avatar image
lolaki asked

Loginwithkongregate

Hi folks.

I'm newbie and this is my first backend service experiment. I installed unity SDK and I made it so far to first api call.I'm trying to make login mechanism with loginwithkongregate but documentation not helpful. Most of the tutorials outdated. I have no idea how to make loginwithkongregate api call.

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

Can you let us know where in the tutorial (https://api.playfab.com/docs/tutorials/landing-players/kongregate-unity) you're running into issues? The information there is specifically how to use the callback from Kongregate's Unity API (https://docs.kongregate.com/docs/unity-api) to log your player into PlayFab.

8 comments
10 |1200

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

lolaki avatar image lolaki commented ·

I tried sample code and few others noone of them worked so far.

Can I only integrate PlayFab and Kongregate with add-on ?

0 Likes 0 ·
brendan avatar image brendan lolaki commented ·

What API call is failing? What happens in the Start when you register for the callback? What specific error messages are you getting? Have you confirmed that your Kongregate Secret API Key is set correctly in the Kongregate Add-on page in the PlayFab Game Manager?

0 Likes 0 ·
lolaki avatar image lolaki brendan commented ·

Aight I was trying to do this without add-on. With add-on it's look working. Now time for save and load data :)

0 Likes 0 ·
lolaki avatar image lolaki commented ·

Can you make a favor to me and guide me to documentation of how to save players progress and load it with code examples. These things very new to me. Thank you for your time.

0 Likes 0 ·
brendan avatar image brendan lolaki commented ·

Sure, this tutorial shows how to use player data to save arbitrary things like game state (and it has code snippets showing exactly how to do that:

https://api.playfab.com/docs/tutorials/landing-players/using-player-data

0 Likes 0 ·
lolaki avatar image lolaki brendan commented ·

Hi Brendan. I'm really grateful you helped me so far. I have managed to load key values but there is a huge problem, "Too many keys specified in Data dictionary update."

I have almost 60 key values to save and load. Is there any way to this ?

Thank you for your time again.

0 Likes 0 ·
Show more comments

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.