Skip to content

Instantly share code, notes, and snippets.

@badgebotio
Last active October 16, 2019 16:17
Show Gist options
  • Save badgebotio/dfcedd03d5b4897740a39460b9611313 to your computer and use it in GitHub Desktop.
Save badgebotio/dfcedd03d5b4897740a39460b9611313 to your computer and use it in GitHub Desktop.
{
"@context": "https://w3id.org/openbadges/v2",
"type": "BadgeClass",
"id": "https://gist.githubusercontent.com/badgebotio/dfcedd03d5b4897740a39460b9611313/raw",
"name": "You Rock! Badge",
"description": "Inaugural BadgeBot badge! Earners of this badge are being recognized for being awesome.",
"image": "https://badgebot.s3.amazonaws.com/badge-images/yourockbadge-image.png",
"hashtag_id": "yourockbadge",
"delete_hashtag_id": "deleteyourockbadge",
"criteria": {
"narrative": "<p>Every day we meet people who make a difference in our lives and the lives of others. Let these folks know that they rocked your world.</p> <p>Special thanks to <a href=\"https://www.participate.com/\" target=\"_blank\">Participate.com</a> for their longstanding support of the Open Badges Community, and inspiring BadgeBot and this badge.</p>",
"details": [{
"logic_function": "tweet_text",
"logic_hashtag_id": "",
"description": "<p>Send a tweet to <a href=\"//twitter.com/BadgeBotio\" target=\"_blank\" title=\"Badge Bot Twitter\"><strong>@badgebotio</strong></a> from your twitter account. Include <b>#yourockbadge</b> (within the first 140 characters), the @username you intend to recognize, and the message explaining why you are recognizing them in your tweet.</p><p>The BadgeBot will review your tweet. If it finds the hashtag and the username in the tweet, it will issue the badge and tweet it to the @username. You will be included in this tweet and should get a notification on twitter.</p><p>The tweet sent to @username will include the badge image and a link to where they can view their badge and its details.</p>",
"evidence_required": "Link to your tweet to @badgebotio.",
"optional": "Include a gif, photo or video.",
"not_met_message": "",
"success_message": "",
"example_tweet": "@badgebotio Please issue a #yourockbadge to @allysonfelix for her hard work and perserverance. Congratulations! You rock!!"
}]
},
"faqs": [{
"question": "Who can I issue this badge to?",
"answer": "Any Twitter user."
},
{
"question": "Can I issue one to myself?",
"answer": "Sure! Self-love and recognition is important!"
},
{
"question": "Can I issue one to more than one user at a time?",
"answer": "Unfortunately, not right now. Please send one tweet per username."
},
{
"question": "What if I forget the hashtag?",
"answer": "Then BadgeBot won't know what badge you intend to send. Please send your tweet again."
},
{
"question": "What if I forget the message about the @username?",
"answer": "The BadgeBot will still issue the badge and send the tweet."
},
{
"question": "What if the tweet is not responded to by Badgebot?",
"answer": "Please send a DM to @badgebotio with a link to the tweet. Badgebot is a prototype and working with the twitter api can sometimes be tricky & limiting."
},
{
"question": "Are these badges public or private?",
"answer": "These are all public tweets so the badges are public too."
},
{
"question": "What if I don't want this badge?",
"answer": "BadgeBot will tweet you a link for your badge. On the top right of that page, there are instructions explaining how to delete your badge by sending a tweet."
}
],
"issuer": "https://gist.githubusercontent.com/badgebotio/de77cb6f422b11dd814bb3e217656adf/raw"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment