Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Option to post reviews to Twitter #69

Closed
teampolyglot opened this issue Jul 25, 2019 · 5 comments
Closed

Option to post reviews to Twitter #69

teampolyglot opened this issue Jul 25, 2019 · 5 comments
Assignees

Comments

@teampolyglot
Copy link
Contributor

  • Explicitly take permission to post to Twitter timeline for this feature
  • This should help with discovery
  • See if a generic protocol like ActivityPub may make it possible to support more platforms
@teampolyglot teampolyglot self-assigned this Jul 25, 2019
@teampolyglot
Copy link
Contributor Author

teampolyglot commented Jul 25, 2019

Pending:

  • - Set up background job infra (Heroku's worker dyno?)
  • - Make Twitter app Read-Write so that it gets access to post tweet on user's timeline
  • - Create reviews/show page which the tweets can link to.
  • - Test and then activate the job in Review#after_create

@teampolyglot teampolyglot reopened this Jul 25, 2019
@virajvchavan
Copy link
Collaborator

How about using Sidekiq for background jobs?

@teampolyglot
Copy link
Contributor Author

teampolyglot commented Jul 27, 2019

@virajvchavan Sounds good to me..

@teampolyglot
Copy link
Contributor Author

Auth0Client.post_tweet(user, message) works and is able to post messages to user's Twitter timeline. I have enabled PostReviewToTwitterJob in Review#after_create. User needs to enable it via settings first.

Currently, we are posting a link to the item. Once #71 is fixed, we will start posting link to the review instead.

@teampolyglot
Copy link
Contributor Author

#71 is fixed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants