Posted: Tue Nov 22, 2011 6:30 am Post subject: External authentication & Enjin.com-site ?
Enjin.com have recently published some docs about their API:
Code:
List users in site
This will return a list of all the users on the website.
URL:
/api/get-users
Returns:
{
"<User ID>":{
"username":"<Username>",
"forum_post_count":"<Total Forum Posts>",
"forum_votes":"<Total Forum Votes>",
"forum_up_votes":"<Forum Up Votes>",
"forum_down_votes":"<Forum Down Votes>",
"lastseen":"<Unix Timestamp when user last visited website>"
}
}
Example:
{
"286":{"username":"Duke Nukem","forum_post_count":"0","forum_votes":"0","forum_up_votes":"0","forum_down_votes":"0","lastseen":null},
"297":{"username":"Gordon Freeman","forum_post_count":"14","forum_votes":"3","forum_up_votes":"3","forum_down_votes":"0","lastseen":"1269925299"},
"339":{"username":"Commander Keen","forum_post_count":"9001","forum_votes":"1337","forum_up_votes":"1339","forum_down_votes":"2","lastseen":"1302875826"}
}
Does anyone know if I can use external authentication based on this info?
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum