X
X
Xrist1An2015-09-21 08:49:15
JavaScript
Xrist1An, 2015-09-21 08:49:15

Instagram feed on the site, what means to implement?

Good day!
The task is to make a feed from instagram on the site.
Of the options there is instafeedjs.com , but the problem is that when you click on the picture, it throws you to the instagram site, but I would like to view the pictures in full size without leaving my site.
I also found this option: codecanyon.net/item/instagram-theatre/full_screen_...
Everything seems to be right here, but this is a WP plugin and, as far as I can tell, it saves pictures to itself and only then gives it back. And it is not clear what he does with video posts.
Question. What are the best ways to implement this feed in order to:
a) open full-size photos on the current site, not go to the instagram site
b) watch the video in the same way
c) have hashtags and photo captions
. Has anyone had any experience? Please share.

Answer the question

In order to leave comments, you need to log in

7 answer(s)
D
Dmitry, 2015-09-21
@thewind

php + instagram API

R
Ruslan Sadikhov, 2015-09-21
@fsdsdfsfdsfsdfsdfsdfsdfsd

instafeedjs has written extensive documentation on how to use their script.
The template parameter is what you need:

<script type="text/javascript">
 var feed = new Instafeed({
  get: 'tagged',
  tagName: 'awesome',
  clientId: 'YOUR_CLIENT_ID',
  template: '<a href="{{link}}"><img src="{{image}}" /></a>'
 });

 feed.run();
</script>

A
Aleksey Levickyj, 2015-12-16
@AlekSays

<script type="text/javascript">
 var feed = new Instafeed({
  get: 'tagged',
  tagName: 'awesome',
  clientId: 'YOUR_CLIENT_ID',
  template: '<a href="{{link}}"><img src="{{image}}" /></a>'
 });

 feed.run();
</script>

in the href attribute, you need to replace it with {{image}} and use some kind of gallery, for example, fancybox.

H
Hitmanp, 2015-09-21
@Hitmanp

Did this myself recently. Made by this method plusgallery.net
Displays a description of the photo. The video is just a picture. The internetagram does not go to the site.

Z
ziine, 2017-05-29
@ziine

Here is a good tool frisbuy.ru , displays the instagram feed in the online store, and even allows you to mark up products

B
bolshiyanov, 2019-11-06
@bolshiyanov

Recently I saw a solution on the psychologist's website on Instagram.
They used a ready-made shortwaytopay.com widget.
It is installed on the site, downloads the author's account from Instagram, creates separate pages for each publication with CNC addresses, and puts down the seo markup itself.
In general, the solution is interesting, almost for nothing. Can you arrange the option to install their widget on your site?

A
Alexey Istomin, 2020-04-20
@webistomin

I wrote a small library for such a case ( link to github ). It turned out to be only 2Kb and does not require access_token and client_id from Instagram.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question