Not just you. I thought there was, too, but they seem to need to authenticate and permit that information to be shared, currently.
Posted 13 months ago by
Pokkit

|
Permalink
Ah - it looks like if you set oauth to Write, you can access mood and energy! :D
Posted 13 months ago by
yossi

|
Permalink
Still, I wonder why mood and energy require greater levels of auth...
Posted 13 months ago by
yossi

|
Permalink
What method are you using? [Actually, I should have phrased the question better, I understand which you're using, I thought you were able to get _others_ mood/energy - that's what I'm looking for].
Posted 13 months ago by
Pokkit

|
Permalink
If you authenticate with write permissions, then you can also get mood and energy.
It's odd that this requires write permission, since it's just basic player stats. If you don't authenticate with that level, you will only get xp.
Posted 13 months ago by
yossi

|
Permalink
Oauth2 is less of a pain than Oauth1 with its annoying encryption stuffs, but it's still a bit of a hassle. Here's a diagram that outlines the process for Oauth2-ing your Glitch server-side app: http://www.lucidchart.com/publicSegments/view/4ec5eac4-a4b8-427a-b3df-5ee60a7e1f3c/image.png
Posted 13 months ago by
yossi

|
Permalink
Thanks, Yossi! That's super helpful!
Posted 13 months ago by
Pokkit

|
Permalink
Hey guys,
You can only ever retrieve mood and energy for an authenticated player.
players.fullInfo used to return this for anyone (along with their currants balance), but we recently closed that off since it could be considered "private" information.
However, you shouldn't need to request "write" permissions to get those stats for an authenticated player.
You can either get them through
players.stats, or through
players.fullInfo if you set the
player_tsid parameter to be the same as your authenticated user, and have a minimum of the "identity" scope.
(Staff reply)
Posted 13 months ago by
hitherto

|
Permalink
Well, the point is that since you need to authenticate just to get mood/energy, you might as well just have the authentication go for Write, since the Oauth dance is required both ways.
Why does mood/energy require authentication?
Posted 13 months ago by
yossi

|
Permalink
I can see the argument for these items being considered somewhat private. I was partially confused on this issue because I had started to develop functionality based on the time that fullinfo returned these items only to find them silently taken out of the method.
I just abandoned that portion of the project 'cause it was novelty anyway, but if they returned it wouldn't be a bad thing ;)
Posted 13 months ago by
Pokkit

|
Permalink