nhoizey’s avatarnhoizey’s Twitter Archive—№ 110,562

  1. …in reply to @chrissy_dev
    @scottishstoater @eleven_ty I create tweets from my 11ty content with this Node script: github.com/nhoizey/nicolas-hoizey.com/blob/main/_scripts/send-tweets.js My notes are available in JSON: nicolas-hoizey.com/feeds/twitter/notes.json But the script uses Twitter API to check if there's already a tweet, and the API allows for 7 days only, I have to add a local cache.
    1. …in reply to @nhoizey
      @scottishstoater @eleven_ty I didn't invent all of this, it is based on @mxbck work: mxb.dev/blog/syndicating-content-to-twitter-with-netlify-functions/ I started with Netlify functions also, but I'm not using Netlify anymore for this site, so the script runs at the end of my deploy script.