newsletter-tool
newsletter-tool copied to clipboard
Automatic quote suggestion
Every week we have a famous quote on the newsletter footer. It's a 100% manual job, look for some good quote on the internet, however, there's some steps that could be automated. We normally use the excellent CodeWisdom Twitter account as main resource, so the tool pull some ideas from it and then the editor choose the best one.
@jaydson, the idea is for the algorithm to receive an automatic Twitter quote from CodeWisdom and show it on the page or select a number of quotes and the administrator will select one to show?
If the idea is even equal to the title I will create a file so that the quote shown is not repeated.
Hey @acidiney, What I imagined:
- Pull last 5 CodeWisdom quotes
- Show the first quote to the editor
- Add the option to navigate to the next suggestion, and so on
Feel free to suggest something else, my input is based on the editor's manual job.
Do you know a easy way to get the last 5 CodeWisdom quotes?
I'm learning too about this... @jaydson The Twitter do not accept return tweets without authentication. I'm my environment the twitter API return error 215. But have solution @JulioGold Read this article https://tomelliott.com/php/authenticating-twitter-feed-timeline-oauth
@JulioGold https://developer.twitter.com/en/docs/tweets/timelines/guides/working-with-timelines Too