Our blog, D Brief, shares succint expert advice, trends, tips, and ideas for marketing communications tactics—focusing on print, Web, social media, and promotional products—from a corporate visual identity perspective. We welcome your thoughts so we can learn from each other.
Easy Way to Show Tweets on Your Website
Thanks to our client Good Life Family Magazine for this question:
Q: How can we show our Twitter feed on our website and control the length or number of posts to display?
A: To show tweets on your website you may add an embedded timeline to a text/HTML page (or in WordPress, place code in a widget area) using HTML obtained from publish.twitter.com
Length of Feed: When configuring timeline HTML on publish.twitter.com you may select “set customization options” and enter a height value.
Number of Posts: You may specify a specific number of Tweets to display by adding a data-tweet-limit attribute to the generated link with the number of Tweets you would like to display. For example add data-tweet-limit=”1″.
Using the HTML generated for Good Life Family Magazine as an example below, replace “https://twitter.com/GLFmagazine” with your Twitter page link/URL and “Tweets by GLFmagazine” with your own text:
See this Twitter feed in action at Good Life Family Magazine! Happy tweeting!