Trying to put a twitter widget and a follow button on a web page. Behaviour is unexpected


#1

Trying to put a Twitter Widget and a Follow button on my website but they are not working.
Only Widget is displayed. and the follow button disappear within 1 sec .

<html>
<head>
	<title>Twitter Follow POC
	</title>
</head>
	<body>
	<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>
	<div>
		<a class="twitter-timeline" href="https://twitter.com/search?q=from%3Agoyalanurag%20%23test" data-widget-id="687849601370472451">Tweets about from:goyalanurag #test</a>
		
	</div>
	<div>
		<a href="https://twitter.com/goyalanurag" class="twitter-follow-button" data-show-count="false" data-size="large">Follow @goyalanurag</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>
	</div>
	</body>
</html>

#2