Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Grabbing user JSON data without being logged in

I'm currently in the process of highly integrating WordPress and Vanilla, and I would like to display some information from Vanilla on my WordPress site. Mainly, profile info, notifications, messages, and badges. I planned on using JSON to grab this data, but quickly ran into some issues.

https://mysite.com/community/profile.json/username <-- Publicly accessible
https://mysite.com/community/messages.json/inbox <-- Only accessible through that user's login session

I'm wondering if there is a way to securely grab the data that is typically only accessible by the current logged in user. Something like:

https://mysite.com/community/messages.json/inbox?for=username&secret_key=abc123

Any suggestions?

Comments

Sign In or Register to comment.