Skip to content

Instantly share code, notes, and snippets.

@danapsimer
Created October 3, 2015 18:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danapsimer/462adad53e495697b221 to your computer and use it in GitHub Desktop.
Save danapsimer/462adad53e495697b221 to your computer and use it in GitHub Desktop.
Unable to get Twitter Timeline embed working.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>DHP Technologies, Inc.</title>
<link rel="shortcut icon" href="/favicon.ico">
<link rel="stylesheet" href="/css/bootstrap-superhero.min.css">
<link rel="stylesheet" href="/css/font-awesome.min.css">
<link rel="stylesheet" href="/css/monokai.css">
<link rel="stylesheet" href="/css/style.css">
<script src="/js/jquery.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script>
window.twttr = (function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0],
t = window.twttr || {};
if (d.getElementById(id)) return t;
js = d.createElement(s);
js.id = id;
js.src = "https://platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js, fjs);
t._e = [];
t.ready = function(f) {
t._e.push(f);
};
return t;
}(document, "script", "twitter-wjs"));
window.twttr.ready(function() {
window.twttr.widgets.load();
})
</script>
</head>
<body>
<div id="outer" class="container">
<a name="blog"></a>
<div class="row">
<div class="col-md-12">
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="col-md-8">
<h2><a href="/">DHP Technologies, Inc.</a></h2>
</div>
<div class="col-md-4">
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li><a href="/page/products">Products</a></li>
<li><a href="/page/services">Services</a></li>
<li><a href="/page/people">People</a></li>
<li><a href="/page/contactus">Contact Us</a></li>
</ul>
</div>
</div>
</div>
</nav>
</div>
</div>
<div class="row">
<div class="col-md-8">
<h2>Site Redesinged</h2>
<article>
<p>I have redesigned the site to be more efficient to host. I hope you like it.</p>
</article>
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = 'dhptech';
var disqus_identifier = '\/article\/2015\/09\/30\/site-redesigned';
var disqus_title = 'Site Redesinged';
var disqus_url = 'http:\/\/localhost:1313\/article\/2015\/09\/30\/site-redesigned';
(function() {
if (window.location.hostname == "localhost")
return;
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
</div>
<div id="sidebar" class="col-md-4 container">
<div class="row">
<a class="twitter-timeline" href="https://twitter.com/danapsimer" data-widget-id="650360993101557760">Tweets by @danapsimer</a>
</div>
</div>
</div>
<div class="row">
<div class="col-md-2 col-md-offset-5">
<a href="/rss.xml"><i class="fa fa-rss-square fa-2x"></i></a>
</div>
</div>
</div>
<script data-no-instant>document.write('<script src="http://'
+ (location.host || 'localhost').split(':')[0]
+ ':1313/livereload.js?mindelay=10"></'
+ 'script>')</script></body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment