- Newest
- Most votes
- Most comments
Hey @REDACTEDUSER
I'm sorry for this frustrating experience -- let me get you some assistance on this topic :) Stay tuned!
Sure thing! Just let us know when you have found someone to answer it. Thank you for your time and have a great day!
Thanks for all of your help everyone! We've made LEAPS forward.
Hello @REDACTEDUSER
So I believe there are a few different parts to what you're trying to build and it sounds like you're on the right track. Step 1 will be creating some sort of UI layer with a web view in order to perform the Facebook login steps as described at Manually Build a Login Flow - this would likely be a 3rd party library of your choosing. Once you have the token retrieved from the facebook login process in Lumberyard you can perform the Login Ebus call in Configuring External Identity Providers at Cloud Canvas Player Identity This will allow cloud canvas to automatically maintain and refresh cognito credentials. It sounds like what you additionally want is to use those player credentials to make custom API calls to Facebook to retrieve the data you're after - this would be a custom lambda you'd want to write and likely add to your Player Accounts gem's resource-template so you could give it permission to add to/modify your PlayerAccounts table and return the desired data to the client.
Hope that helps!
Hello @REDACTEDUSER
Are you building your application on a mobile platform? If so, I would recommend using the Facebook SDK to log in the users of your application. Once logged in you would need to retrieve the user's identity from the session object and pass it into the Cognito SDK so that it can provide you with an Amazon Cognito Identity to identify the user.
Here is some reading material which hopefully will help you in building the system out.
Thanks!
This post is closed: Adding new answers, comments, and votes is disabled.
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 9 months ago
- AWS OFFICIALUpdated a year ago