Get player profile's About
onAuthSuccess = function() profile.LoadProfile(onProfileLoad) end onProfileLoad = function(SUserProfile) Space.Log(profile.ActivePlayerProfile.About) Space.Log(SUserProfile.About) --both ways work end profile = Space.Profile profile.Authorize(onAuthSuccess)
Get player profile's City
onAuthSuccess = function() profile.LoadProfile(onProfileLoad) end onProfileLoad = function(SUserProfile) Space.Log(profile.ActivePlayerProfile.City) Space.Log(SUserProfile.City) --both ways work end profile = Space.Profile profile.Authorize(onAuthSuccess)
Get player profile's Country
onAuthSuccess = function() profile.LoadProfile(onProfileLoad) end onProfileLoad = function(SUserProfile) Space.Log(profile.ActivePlayerProfile.Country) Space.Log(SUserProfile.Country) --both ways work end profile = Space.Profile profile.Authorize(onAuthSuccess)
Get player profile's Gender
onAuthSuccess = function() profile.LoadProfile(onProfileLoad) end onProfileLoad = function(SUserProfile) Space.Log(profile.ActivePlayerProfile.Gender) Space.Log(SUserProfile.Gender) --both ways work end profile = Space.Profile profile.Authorize(onAuthSuccess)
Get player profile's Interests
onAuthSuccess = function() profile.LoadProfile(onProfileLoad) end onProfileLoad = function(SUserProfile) Space.Log(profile.ActivePlayerProfile.Interests) Space.Log(SUserProfile.Interests) --both ways work end profile = Space.Profile profile.Authorize(onAuthSuccess)
Get player profile's Real Name
onAuthSuccess = function() profile.LoadProfile(onProfileLoad) end onProfileLoad = function(SUserProfile) Space.Log(profile.ActivePlayerProfile.RealName) Space.Log(SUserProfile.RealName) end profile = Space.Profile profile.Authorize(onAuthSuccess)
Get player profile's Since
onAuthSuccess = function() profile.LoadProfile(onProfileLoad) end onProfileLoad = function(SUserProfile) Space.Log(profile.ActivePlayerProfile.Since) Space.Log(SUserProfile.Since) --both ways work end profile = Space.Profile profile.Authorize(onAuthSuccess)
Get player profile's Flower count
onAuthSuccess = function() profile.LoadProfile(onProfileLoad) end onProfileLoad = function(SUserProfile) Space.Log(profile.ActivePlayerProfile.SocialFlower) Space.Log(SUserProfile.SocialFlower) --both ways work end profile = Space.Profile profile.Authorize(onAuthSuccess)
Get player profile's Gold Badge count
onAuthSuccess = function() profile.LoadProfile(onProfileLoad) end onProfileLoad = function(SUserProfile) Space.Log(profile.ActivePlayerProfile.SocialGold) Space.Log(SUserProfile.SocialGold) --both ways work end profile = Space.Profile profile.Authorize(onAuthSuccess)
Get player profile's Social Media Profiles
Get player profile's Silver Badge count
onAuthSuccess = function() profile.LoadProfile(onProfileLoad) end onProfileLoad = function(SUserProfile) Space.Log(profile.ActivePlayerProfile.SocialSilver) Space.Log(SUserProfile.SocialSilver) --both ways work end profile = Space.Profile profile.Authorize(onAuthSuccess)
Get player profile's Title
onAuthSuccess = function() profile.LoadProfile(onProfileLoad) end onProfileLoad = function(SUserProfile) Space.Log(profile.ActivePlayerProfile.Title) Space.Log(SUserProfile.Title) --both ways work end profile = Space.Profile profile.Authorize(onAuthSuccess)
Get player profile's Username
onAuthSuccess = function() profile.LoadProfile(onProfileLoad) end onProfileLoad = function(SUserProfile) Space.Log(profile.ActivePlayerProfile.UserName) Space.Log(SUserProfile.UserName) --both ways work end profile = Space.Profile profile.Authorize(onAuthSuccess)
|