Does anyone know what would be a good and fair way to do a giveaway on Mastodon? For example, Twitter has TweetDraw, which picks a random username out of retweets etc. Is there anything like it for Masto?
Looks like I should be able to count the boosts with @zatnosk 's tool. I AM SO HAPPY. T_______T ♥
@dona Not sure if there's a tool, but you can put boosters in a spreadsheet, then draw a random number from random.org that would correspond to the row with the winner in the spreadsheet
@Gargron Ooh is there a way to extracts just the usernames that boosted a post? Do I need to download my data for that? I don't mind if I have to clean up the data a little, as long as it doesn't require copy-pasting each name by hand :'D
@Gargron Aww noooo :( Thank you for checking it, though. I'll keep trying to find a solution 🤔 (but all signs point to manual copy-pasting from notifs, RIP </3)
@dona if you have access to the DB you can just query all replies or boosts on a post, filter duplicates then use the random function to select a winner. This worked well for our last giveaway.
@james Hmm I am not a maintainer, so I don't think I have access to the database. Unless it's a part of the user data download thing 🤔
@cloud Thank you for a clear explanation! ♥ I was trying to figure out a way to draw from the boosts and avoid manual copy-pasting, but it's proving difficult...
Also aw man, I missed my chance to win some snazzy stickers! x)
@dona No but doing a giveaway sounds like a great Idea
@mediahydra I want to do a character portrait sketch giveaway but finding a way to pick winners on Masto seems like the most difficult part! Haha.
@dona That is very cool! How can I get a chance at qualifying for the giveaway?
@mediahydra I'm still figuring it out :( but most likely I will ask people to comment on a giveaway post because tracking boosts doesn't seem easy!
@gudu I'm not familiar with the bot - can I ask it to pick a random person that boosted a specific post, for example?
@gudu Thanks! So far it seems picking a random boost is very complicated and my best shot is doing it manually 😂
@dona Maybe there's a bot for that 🤔
@dona also, I was able to play with the idea, install a commandline mastodon client 'toot' and display just the @ usernames of boosters of a status post.
I could 'pipe' that output to a file.txt ($ command > file.txt), or copy/paste to random.org
or even use shuf bash function:
$ toot reblogged_by 101732178187132764 | grep @ | shuf -n 1
(the number of the status can be taken from the URL in the web-ui)
(ps: I'm sorry, I can't remember if you are on linux or not)
@luka I'm on Windows. I really, really don't understand coding, command lines and all that - I've already been told that it's easy to code a bot to fetch the boosts, but I don't know how!
@luka @InvaderXan I really don't know how many boosts to expect D: I actually never look at my boost # because it makes me anxious, lol, but anyway - Gargon confirmed that it may have trouble catching more than 40 boosts, so in that case I would have to manually track through notifications - which is still a lot of work, and I'd be concerned in the case a notif didn't go through or something T-T
@InvaderXan oh my l o r d
WHY IS MASTODON
I'm going cooky trying to figure this out dsalkdal;kda;;dllsksksksk;;;;;;;;
(Thank you for pointing it out, I did not think about it at all TnT)
@dona Hey, I've seen this thread pop up a bunch of times, and it seems pretty clear that there isn't a good tool for finding who boosted a post.
So I built a tiny webpage, that can take a post URL and makes a list of who boosted it, using Mastodons public API.
It might malfunction in weird ways, I haven't tested it that much, but it should work for most toots :)
@dona argh, dammit. I thought that was just a limitation in the webview. Ah well, it only took 15 minutes to build.
I wonder if there's some way to get the rest out via the API...
@zatnosk Yeah, I don't know why it's capped at 40 :C All of this sounds really complicated!
@dona It looks like it's because the API is paginated, so it only shows 40 at a time instead of potentially hundreds at once.
I think I can make my script work above 40.
@zatnosk OH MY GOD YOU'RE A SAINT ♥♥♥♥♥
@zatnosk I tested it with a few high boost number toots I could find and it seems to work fine! (The most was 140 which is pleeeentyyy I think)
(also, funny to notice - with one toot it missed two people, with the other it showed *one more*... I wonder what happened there!)
@dona hm, if you give me the urls I might be able to dig into what happens there later tonight :)
Sometimes there's also a rel="prev" value (it's is comma separated if they're both there), so it's important to detect that and not end up endlessly jumping back and forth between two pages.
(Nooo, I totally didn't learn that by doing it..)
Mastodon.ART — Follow friends and discover new ones. Publish anything you want & not just art of all types: links, pictures, text, video. All on a platform that is community-owned and ad-free. Moderators: @Curator @ChrisTalleras @EmergencyBattle @ScribbleAddict @Adamk678