question

brendan avatar image
brendan asked

cloud script GetUserAccountInfo

dragongamestudio
started a topic on Mon, 08 June 2015 at 1:02 AM

hello to day i want to use facebookinfo that will provide by GetUserAccountInfo as describe in http://cloudscript.playfab.com

but i only get

{
  "UserInfo": {
    "PlayFabId": "308ED7CC0EE1AF45",
    "Created": "2015-06-05T08:06:17.318Z",
    "TitleInfo": {
      "DisplayName": "Dgstest Papat",
      "Created": "2015-06-05T08:06:17.207Z",
      "LastLogin": "2015-06-08T05:16:15.113Z",
      "FirstLogin": "2015-06-05T08:06:17.207Z"
    }
  }
}

without facebookinfo

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

9 Comments
dragongamestudio said on Tue, 09 June 2015 at 10:03 PM

here some test code i made, as describe in cloudscript help page, it will return value which is same with
GetAccountInfo API

<code>handlers.test1 = function ( args ) {
    var player1 = server.GetUserAccountInfo({"PlayFabId" : args.PlayFabId});
    log.info(player1);
    return player1;
};

Brendan Vanous said on Wed, 10 June 2015 at 5:40 PM

Thanks for reporting this - there is a known issue with the Facebook details at the moment, which are working to resolve. We'll update here as soon as the fix has been pushed live.


dragongamestudio said on Fri, 12 June 2015 at 12:32 AM

ya and also GetFriendsList with IncludeFacebookFriends params filled with true is not returning all the facebook friends,
similiar with facebook API which is not returning all friend list also


Brendan Vanous said on Fri, 12 June 2015 at 3:48 PM

Getting your Facebook friends to show up does require that you're properly configured - have a look at this post for more info:

https://community.playfab.com/questions/117/205469418-Getting-facebook-firends-.html


dragongamestudio said on Sun, 14 June 2015 at 8:36 PM

i have already add it app secret and app id, but i only get few of my facebook friends, not all


Brendan Vanous said on Mon, 15 June 2015 at 7:39 PM

Only those Facebook friends who have also signed into your game will appear. If that's not what you're seeing, can you provide specifics on which player accounts you're using (which ones have signed into the game, which are in each others' Facebook friends, and which are not appearing when they should)?


dragongamestudio said on Fri, 19 June 2015 at 2:23 AM

well its okay now, i use that result and other for displaying another friend that haven't authorized our app

and how about the GetUserAccountInfo in cloudscript? is that already fixed?
because today i try to use it in my script but still give me no facebook id for that command


Brendan Vanous said on Fri, 19 June 2015 at 5:00 PM

Thanks, good to know.

The GetUserAccountInfo issue isn't specific to Cloud Script, but the answer is that we have someone scheduled to look into that this sprint, so we should have it fixed soon.

Brendan


dragongamestudio said on Sun, 21 June 2015 at 10:24 PM

okay, thank you :D

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.