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

Respond with a newly generated tweet when @notsorrygame is mentioned on Twitter #4

Open
mogul opened this issue Jul 6, 2015 · 1 comment

Comments

@mogul
Copy link
Collaborator

mogul commented Jul 6, 2015

We need to resolve how we actually respond to incoming tweets.

  • How is our response triggered?
  • Are tweets generated on the fly, or pulled from a pre-generated set?
  • Do we log the request/response anywhere?
  • Do we have to include the addressee's handle in length limits?
@jcombos
Copy link
Owner

jcombos commented Jul 7, 2015

These are good questions. Here are my thoughts:

Trigger: It's probably easiest for the bot to respond to anyone who
tweets "@notsorrygame" but if we wanted to limit it so that it doesn't
tweet at people just for mentioning it, we could try to limit the trigger
to tweeting "sorry" at @notsorrygame. Overall, I'm for the easiest option,
though.

Tweet generation: If it's fast, we could have the tweet generated on the
fly, but I could also see a daily generation of tweets that are pulled from
randomly each time one is needed. I generally favor the latter since it
could handle high traffic requests a little better, but I leave it to you
to determine what is the easiest to code.

Request/response log: I'm assuming that the tweet at the twitter handle
and it's response will both be logged like normal tweets in it's feed, so
people could always look at it read all the tweets its sent out. If that's
the case, would we need to log anything beyond that?

*Addressee handle: *Not only do I think we need to handle the addressee's
handle (so the tweet response goes to the right person) but we're also
going to need to set aside space for the sorry card generated too.

Speaking of which, any ideas on how to pre-pend the card info?

On Mon, Jul 6, 2015 at 12:51 PM, Bret Mogilefsky notifications@github.com
wrote:

We need to resolve how we actually respond to incoming tweets.

  • How is our response triggered?
  • Are tweets generated on the fly, or pulled from a pre-generated set?
  • Do we log the request/response anywhere?
  • Do we have to include the addressee's handle in length limits?


Reply to this email directly or view it on GitHub
#4.

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

2 participants