The api was changed to honour the player's privacy settings because it was being abused. It now has dependencies and conditions that must be met before you can get a json object returned. It's limited compared to how it once was.
Somewhere on this thread I gave a working example using ajax to return the jsnon object. It returns clan, online status, and world/lobby.
I cant find the post now, but for this to work in an ajax request, you must have a valid session, not make a cross origin call, and the payer must either have private chat set to public or have each other added with chat settings set to appear online.
RS Linkify is already making that call when viewing posts, I'm just not using all the information contained in the response. So for me it's easy to include a player's
relationship
online status.
I never went ahead with it because most people will appear offline due to the fact you can't have every player added and not all players have their private chat open.
In conclusion, as long as a player's privacy settings are honoured I'm okay with giving it a try.
Edit: so many typos, must have too much blood in my caffeine system :/
04-Jan-2015 23:35:49
- Last edited on
04-Jan-2015 23:38:57
by
Indecent Act