In accordance to the new General Data Protection Regulation (GDPR) I want to give the visitor of my homepage the choice to see the Twitter Timeline, or not; before the timeline itself is loaded.
How can I replace a static image on my website with the Twitter Timeline Widget on my homepage after the visitor clicked on the image?
I'm adding the timeline like this:
<p><a class="twitter-timeline" href="https://twitter.com/foo?ref_src=twsrc%5Etfw">Tweets by foo</a></p>
Has somebody heard of a github project or has somebody a rough idea, how to do this?