6/12/2023 0 Comments Facebook sdk unityThe above accepted answer seems to be written in javascript and C# (a strange amalgamation), and some (all?) users may find things not working.ītw, replace "first_name" with "name" if you want the full name. IDictionary dict = (result.Text) as IDictionary In this case LoginCallback2, which has the entered field's infromation (first_name) / void LoginCallback2(FBResult result) the FB.API has a method that calls a new function. LastResponse = "Login cancelled by Player" įB.API("/me?fields=first_name",, LoginCallback2) Releases facebook/facebook-sdk-for-unity Notifications Fork 271 Star 432 Releases Tags SergioGuerreroFB sdk-version-15.1.0 949597d Compare v15.1.0 release Latest Modified Bumped native SDK versions to 15.1.0 Bumped iOS SDK version to 15.1 Bumped Android SDK version to 15.1 Bumped Windows SDK version to 1.0. LastResponse = "Error Response:\n" result.Error Logged in the player, and in the login call back I wrote: using Facebook.MiniJSON "using Facebook.minijson " either doesn't exist, or it has been updated to: "using Facebook.MiniJSON " Case sensitive.Īnyways, to get the first name, this is what I did: Facebook Unity SDK Tutorial -Sdk setup and Login in this tutorial we are going to see how to use facebook sdk with unity for Playfab Unity - Setup, Sign Up
0 Comments
Leave a Reply. |