question

bjost avatar image
bjost asked

Playfab with Twitch drops

We are looking to get twitch drops working with out game. Currently what we do is when a user opens the game we associate their SteamID with a playfab account or auto create one. This seems to make it hard to link playfab with twitch for twitch drops as a user doesn't have a playfab login.

Is there another way to do this?

Authentication
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

If there's any PlayFab account for the user, you have a PlayFab ID which is returned when you make the Login... call. It sounds like you're saying you're using LoginWithSteam - is that correct?

What are the details of what you're trying to do, and where are you getting stuck?

2 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.

bjost avatar image bjost commented ·

It looks like twitch drops needs an OAUTH to playfab? Is that something Playfab provides?

0 Likes 0 ·
brendan avatar image brendan bjost commented ·

Sorry, but can you clarify the specifics of what it is you're trying to do? You can create accounts in PlayFab using both Steam and Twitch accounts, and you can link Steam and Twitch accounts to existing PlayFab accounts.

If what you're looking for is a way to do DotA 2 style Twitch drops in your game, one way to do that would be to give the player a way to link their Twitch account (assuming all accounts are created using the player's Steam info), and then check the user's account info (Server/GetUserAccountInfo) in the server-side logic where you reward the drops.

But if you literally mean the Twitch Drops service (https://discuss.dev.twitch.tv/c/game-dev/drops), you would need to use the Twitch API directly, as we do not provide direct integration with that.

To use Twitch login or link, yes, you would need to get an Access Token from the Twitch service, using their API.

0 Likes 0 ·

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.