rupl / bustashape

Collaborative, real-time artboards
https://bustashape.art
MIT License
5 stars 3 forks source link

twitter integration #73

Closed rupl closed 7 years ago

rupl commented 8 years ago

I just registered https://twitter.com/bustashape and thought it might be cool to tweet a link when someone fires up a room.

afragon commented 8 years ago

Would be awesome to be able to have a list of the most popular rooms based on active participants.

rupl commented 8 years ago

I created #75 to track the room listing

rupl commented 8 years ago

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)

rupl commented 7 years ago

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.

rupl commented 7 years ago

lol, this fails miserably when many people join. had to discover this by being tweeted by someone with reach. classic.

rupl commented 6 years ago

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.