A continuous stream of rhyming tweets.
The Longest Poem in the World is a continuous stream of real-time tweets that rhyme.
orangehas the phonetical translation
ao1 r ah0 n jh. Tweets that rhyme have the same phonetical translation starting with the last accented phoneme.
cloud/functions, with the contents of the index.js and the package.json files for each.
fetch-tweetsis triggered through HTTP and uses the Twitter API to fetch tweets, filter to only reasonable candidates, then push each candidate to the
parse-tweetis triggered through the
tweetsPubSub channel for each candidate and tries to pair it with an older rhyming tweet
list-versesis triggered through HTTP and is used by the website to list the most recent verses of the poem
fetch-tweetsto be able to access the Twitter Search API, you need to provide the necessary API access tokens. Go to Twitter's developer portal, sign in with your Twitter account and create a new application. At the bottom of the app page click the "Create my access token" button, then go to the "OAuth tool" tab and copy the 4 OAuth tokens into the
cloud/storage. Upload this file into the Google Storage bucket created for your project
fetch-tweetsfunction however often you like. I use UptimeRobot with a frequency of 5 minutes.