Jump to content
McKay Development

Recommended Posts

Posted

Firstly, thanks for the great work on steam-user. It's great.

 

I'm having some issues with getting my friends list, having read the docs I understand it can be accessed via myFriends.

 

I've tried the following but it keeps returning undefined.

 

 

function getMyFriends(callback) {
    if(err)
        return callback(err);
    if(!user.myFriends)
        callback(null,user.myFriends)
}

 

What event do I need to wait for to ensure it holds something?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...