How to embed twitter timeline in your blog
I embedded the timeline of twitter to my blog so I write how to do it. At first, you have to get the html code to embed your timeline. Go to your home of twitter and copy the URL.After that go to Twitter Publish and paste the URL and click the button.
Select the left side to embed your timeline.
Then you can get embed code so copy and put it on your blog where you want to embed.
How to limit the number of tweets
You might find the timeline is too long for your blog. Then limit the tweet number. Add data-tweet-limit="*" to your embed code.<a class="twitter-timeline" href="https://twitter.com/TwitterDev" data-tweet-limit="3"> Tweets by @TwitterDev </a>
3 is the number of tweets so you can change it as you like.
Then you can limit the number of tweets like this:
No comments:
Post a Comment