Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Post new message on Twitter when new author/blog is added to JVM Bloggers #579

Open
tdziurko opened this issue Feb 21, 2020 · 5 comments
Open

Comments

@tdziurko
Copy link
Collaborator

We should post new tweet when JVM Bloggers gets new author. Posts should be scheduled for time now + some random time to avoid posting five messages in a short period of time after several PR-s with new blogs were merged together.

@lkukielka
Copy link

I'm taking it ;)

@tdziurko
Copy link
Collaborator Author

tdziurko commented Feb 22, 2020

  1. Twitter message should be generated when new blog/video channel/etc is added to the database, not when new issue is published on Friday.
  2. Message should be scheduled to be published in next 12 hours, but not between 24:00-8:00.
  3. We should have 3-5 message templates randomly picked when generating new message.

@tdziurko
Copy link
Collaborator Author

@lkukielka Any update on this? :)

@tarczynskitomek
Copy link

@tdziurko If it's still available I'll be happy to give it a try :-)

@tdziurko tdziurko assigned tarczynskitomek and unassigned lkukielka Aug 5, 2020
@tdziurko
Copy link
Collaborator Author

tdziurko commented Aug 5, 2020

Switched assignee due to inactivity. No hard feelings, we all have lives so I fully understand that sometimes we encounter NotEnoughTimeException :)

tarczynskitomek added a commit to tarczynskitomek/jvm-bloggers that referenced this issue Aug 6, 2020
- publish an event when new blog / author is added
- schedule two tweets, with different templates used to be published when the event is triggered
- the second tweet is scheduled to be posted randomly between 8 to 12
  hours after the first one, and between 8:00 and 24:00 during the day.

  If the scheduled, randomized publication time happens to be between
  24:00 and 7:59 inclusive, the tweet is scheduled for the eariest
  possible allowed time.
- minor cleanup and refactoring
tarczynskitomek added a commit to tarczynskitomek/jvm-bloggers that referenced this issue Aug 6, 2020
- publish an event when new blog / author is added
- schedule two tweets, with different templates used to be published when the event is triggered
- the second tweet is scheduled to be posted randomly between 8 to 12
  hours after the first one, and between 8:00 and 24:00 during the day.

  If the scheduled, randomized publication time happens to be between
  24:00 and 7:59 inclusive, the tweet is scheduled for the eariest
  possible allowed time.
- minor cleanup and refactoring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants