I am trying to create my own site where I would like to display my Twitter timeline on a page. I have followed the instructions (Go to my account>Settings>Widgets>Create New Widget which takes me to publish.twitter.com where I enter my account (@Rex_Critchlow) and select the format I want. It then says “That’s all we need” and gives me the code to paste into my web page, followed by an example of what the result should look like.
Because of the difficulties I have had getting this to work, I created a new, blank HTML document in Dreamweaver and pasted in the code from twitter. It looks like this:
<a
class="twitter-timeline"
href="https://twitter.com/Rex_Critchlow">
Tweets by Rex_Critchlow
</a>
<script
async
src="//platform.twitter.com/widgets.js" charset="utf-8">
</script>
I save the page and view it in any of my browsers (Firefox, Opera, Chrome or IE) and I get only “Tweets by @Rex_Critchlow” which is a link to my Twitter account.
I found a bunch of code in another discussion that displays someone’s timeline, but if I try to change it to mine I get only the word “Tweets”. That code is as follows:
<a class="twitter-timeline" href="https://twitter.com/SamenSlimZorgen" data-widget-id="663659067018223616">Tweets</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
I assumed the long number was the User ID. When I replace it with mine, it dies.
Any ideas?