Extension that adds a "Yeah!" button to Twitter. Essentially, it's a public Like button. It doesn't send spammy images into replies, instead it saves your Yeahs into a shared database. Everyone can see who Yeahed a tweet, and what tweets person Yeahed.
This extension supports both new Twitter and OldTwitter!
Chrome, Edge, Opera, Brave, Vivaldi, etc:
Firefox, Waterfox, LibreWolf, Floorp, etc:
Userscript (Tampermonkey, Greasemonkey, Violentmonkey, etc):
chrome.zip
if you're on Chromium based browsers (Chrome, Edge, Opera, Brave, etc.) or firefox.zip
if you're on Firefox.chrome://extensions
about:debugging#/runtime/this-firefox
about:config
xpinstall.signatures.required
to false
about:addons
If you wish to implement Yeah! button in your Twitter mod, you can use this API.
Base URL: https://yeah.dimden.dev
All requests use POST method.
All requests require Content-Type: application/json
.
/api/request_token
Returns { public_token: String, private_token: String }
.
You need to make user tweet yeah-xxxxxxxx
where xxxxxxxx
is public token.
/api/verify_token
Requires body: { public_token: String, private_token: String, tweet: Tweet }
.
Tweet
is object of this format. Must also include user
object inside with id_str
.
Will reply with success
if everything went correctly. After that you can save private_token
somewhere to use in other requests.
/api/get
Requires body: { post_ids: String, key: private_token }
.
post_ids
is string of tweet IDs separated by comma. Max 100 tweets per request.
Will return [ { post_id: String, count: Number, yeahed: Boolean }, ... ]
.
/api/yeah
Requires body: { post_id: String, key: private_token }
.
Will reply with done
if everything went fine.
/api/unyeah
Requires body: { post_id: String, key: private_token }
.
Will reply with done
if everything went fine.
/api/get_users
Requires body: { post_id: String, key: private_token, page: Number }
.
page
starts with 1.
Will return an array with user ids.
/api/get_yeahs
Requires body: { user_id: String, key: private_token, page: Number }
.
page
starts with 1.
Will return an array with tweet ids.
/api/get_user_yeah_count
Requires body: { user_id: String, key: private_token }
.
Will return { count: Number }
.