learn
learn copied to clipboard
Post reviews on GoodReads
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
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".
GoodReads integration is now done via Auth0. See #104
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.
Assuming this can be closed given https://github.com/learn-awesome/learn/issues/230