|
|
|
|
|
by victorstanciu
1536 days ago
|
|
"Functionality aside embedding random scripts from twitter seems like a big risk for security and privacy." When I started blogging again, I wanted to render my Twitter feed on the homepage, as a sort of bitesize alternative to the regular content, but I too have a deep aversion to allowing external scripts on my websites. So I added some code to my Hugo theme that pulls the tweets from my profile via the Twitter API and renders them statically. |
|
That of course still leaves open the matter of whether/how you're making sure to trigger a new build for every new tweet.