当我尝试最基本的嵌入时,由instafeed网站提供的js脚本不起作用。
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>The HTML5 Herald</title>
<meta name="description" content="The HTML5 Herald">
<meta name="author" content="SitePoint">
<link rel="stylesheet" href="css/styles.css?v=1.0">
<script type="text/javascript" src="instafeed/instafeed.min.js"></script>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<script src="js/scripts.js"></script>
<div id="instafeed"></div>
<script type="text/javascript">
var feed = new Instafeed({
get: 'tagged',
tagName: 'awesome',
clientId: 'CLIENTID'
});
feed.run();
</script>
</body>
</html>
我必须做什么才能显示Feed?
答案 0 :(得分:0)
您需要一个真正的clientID才能正常显示。你有没有从Instagram收到一个?