Twitter widget only shows: Tweets by @ in .aspx page


You can see if you go to that only the " Tweets by @brantleyswest " is shown. You can view>>source to see what the code is cut and pasted:

<a class="twitter-timeline"  href=""  data-widget-id="390853349026717696">Tweets by @brantleyswest</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.src=p+"";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

I did change ://platform to http://platform based on some other reading but it didn’t really have an effect. Tweets are not protected. However, this our website is a windows-based .aspx website. I’m not sure if Twitter is not compatible with ASP.NET but that would seem not to be the case since this is a script. I did try changing the tag to specify text/JavaScript but that didn’t help either. If however, I put this code into a .html file like: it works.


The 2nd line is incorrect. It should be: