Update Hugo Tweet Shortcodes with PowerShell, Curl, and the Twitter API
Read OriginalThis technical tutorial explains how to automatically update Hugo static site tweet shortcodes from the old single-parameter format to the new required two-parameter format (user and id). It provides a PowerShell script that uses curl and the Twitter API to fetch the correct user handle for each tweet ID, enabling bulk updates across a site.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser