简体   繁体   English

如何在网站上获取instagram feed

[英]How to get an instagram feed on a website

I am trying to get instafeed to work on galnova.com but nothing is happening 我正在尝试让stafeed在galnova.com上工作,但是什么也没发生

galnova.com galnova.com

this is the code that they told me to insert on the site but I have no control over it. 这是他们告诉我要在网站上插入的代码,但我无法控制它。

http://galnova.com/2015/js/instafeed.min.js http://galnova.com/2015/js/instafeed.min.js

<script type="text/javascript">
    var feed = new Instafeed({
        get: 'tagged',
        tagName: '',
        clientId: ' MYCLIENTID',
        useHTTP: true
    });
    feed.run();
</script>

Then on the page I am using this 然后在页面上我正在使用这个

<div id="instafeed"></div>

and nothing is populating. 而且什么也没有。 It's telling me 告诉我

Error from Instagram: The access_token provided is invalid 来自Instagram的错误:提供的access_token无效

I'm using the actual token I got from the instagram page and it's not working. 我正在使用从instagram页面获得的实际令牌,但它不起作用。

What am I missing? 我想念什么?

You can use iframe or somehow plugin like http://instafeedjs.com 您可以使用iframe或类似http://instafeedjs.com的插件

Example

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM