Instagram widget, get images tagged

Hi, am using the instagram widget with moesia pro - as i can see the instafeed.js was added to the js files in moesia pro. All good, but i would like to only show images from my instagram feed tagged with (for example #nature…). In order to do this, the following code should apparently be added - but i cannot find out where i should add it to… i tried in the header.php file, but this is wrong.
please tell me where i should put the snippet - thanks a lot!! maybe only a part of it should be added somewhere, as the client id has already been added through your widget…?

<script type=“text/javascript”>
var feed = new Instafeed({
get: ‘tagged’,
tagName: ‘awesome’,
clientId: ‘YOUR_CLIENT_ID’
});
feed.run();
</script>

Hello there,

Try to do the following:

  1. Install and activate the Header and Footer Scripts plugin
  2. Go To Settings > Header and Footer Scripts panel
  3. Enter your code into the Scripts in footer box
  4. Save settings

Regards,
Kharis

Hi Kharis,
thanks for your reply. i did as you suggested and entered the following script in the footer box (replacing my user id with the real id)

<script type=“text/javascript”>
var feed = new Instafeed({
get: ‘user’,
userId: ‘my user id’,
filter: function(image) {
return image.tags.indexOf(‘nature’) >= 0;
}
});
feed.run();
</script>

i also tried other snippets as suggested on instafeedjs.com, but it looks like whatever i put there, the website does not react on it. i also tried to put it in the header box. no result.

i then tried to simply embed the instagram media url as suggested in instagramdeveleloper, but then it only shows one image. when i try to embed the media in a shortcode as this example: [instagram url=https://www.instagram.com/p/bNd86MSFv6/ hidecaption=true width=320] -it does not work…it only shows the shortcode, not the image…

but what i really want is the instagram feed, just simply with selected images by hashtag… now they show all my images…
http://sisonke-webdesign.at/instagram-test/

how can we solve this? thanks for your kind attention…

Hi Kharis,
could you please come back to me?
As i wrote on March 8, I tried your suggestion, but to no avail…
any idea?

Hello there,

As an alternative, try to use one of the following plugins:

Regards,
Kharis

thanks, but i tried most of the plugins, problem is this is either or as for

https://wordpress.org/plugins/instagram-image-gallery/
either your own pics or hashtags (but then from other users…)
(For your own photos or a #hashtag feed)

i need my own photos + hashtag

social-hashtags could work, i will check it …

Been looking for new and unique functions and scripts for instagram and found this -


Give it a try and you will find something for yourself.