API to award badge to anon user

Home Member Forums Guest Achievements API to award badge to anon user

This topic contains 2 replies, has 3 voices, and was last updated by  Kenn Palm 3 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #16181

    Hector
    Participant

    We have a custom plugin which we want to issue badges to anon users via Guest Achievements. By looking at the API docs I think this is how to do that?

    badgeos_award_achievement_to_user

    However, that requires a user ID, which, being anon, is not available? Any pointers on how to issue awards programmatically to guest visitors?

    Many thanks

    #25741

    Hi Hector

    Please elaborate your question and the functionality of your custom plugin. If you want to award badges to a non-user then BadgeOS Guest Achievement add-on will do the job for you. No custom code required.

    Thanks

    #26482

    Kenn Palm
    Participant

    I am looking for the API docs, but all I get is this stupid blog post. Is there a link to the API docs?

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.