Closed rupl closed 7 years ago
Would be awesome to be able to have a list of the most popular rooms based on active participants.
I created #75 to track the room listing
I've decided this should depend on #55 and only tweet "popular" rooms which we will define with a constant (likely to just be 2+ people until we need it to be higher)
this won't work on our PR deploys because it requires config variables on the Heroku dyno. But I tested it locally and it's pretty straightforward.
lol, this fails miserably when many people join. had to discover this by being tweeted by someone with reach. classic.
Coming back to this, I realize I can just wrap this in a Promise or an async/await and avoid the nasty sync action that caused problems before. I would really like to rely on existing social networks to get people engaged.
I just registered https://twitter.com/bustashape and thought it might be cool to tweet a link when someone fires up a room.