【问题标题】:Instafeed not workingInstafeed 不工作
【发布时间】:2016-03-24 18:24:21
【问题描述】:

当我尝试最基本的嵌入时,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 显示任何内容?

【问题讨论】:

  • 浏览器控制台中有什么可以提供更多信息的吗?

标签: instafeedjs


【解决方案1】:

您需要一个真实的客户端 ID 才能正确显示。你从 Instagram 收到了吗?

【讨论】:

  • 是的,“CLIENTID”只是为了掩盖我的真实客户 ID。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多