learn icon indicating copy to clipboard operation
learn copied to clipboard

Post reviews on GoodReads

Open teampolyglot opened this issue 5 years ago • 4 comments

GoodReads allows users to post "General updates". Users can use that to post their learnawesome reviews to GoodReads (the way we do for Twitter) for more visibility.

API docs should be available here: https://www.goodreads.com/api

Using oauth gem: https://www.rubydoc.info/gems/oauth/0.5.4

teampolyglot avatar Jan 12 '20 18:01 teampolyglot

Reviews now get posted to GoodReads. Some cases to think about:

  • Nothing gets posted if user simply marks an item as "Want to learn"
  • PostReviewToSocialMediaJob.perform does 3 tasks. Should be broken up in smaller methods
  • Review flow is less than ideal. For eg: Adding star rating and review notes does not change status from "Want to learn" to "Have learned".

teampolyglot avatar Jan 13 '20 18:01 teampolyglot

GoodReads integration is now done via Auth0. See #104

teampolyglot avatar Apr 11 '20 20:04 teampolyglot

A user complained that the default oauth scope allows the app to post on their GoodReads. We should figure out how to get an incremental permission only when users want to enable auto-posting.

teampolyglot avatar May 27 '20 11:05 teampolyglot

Assuming this can be closed given https://github.com/learn-awesome/learn/issues/230

tejpochiraju avatar Aug 21 '21 07:08 tejpochiraju