question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Swiper and Instafeed

See original GitHub issue

Hi! Is it possible to use the images fetched from Instafeed (http://instafeedjs.com/) into Swiper?

I tried to append it like this, but it didn’t work:

    var feed = new Instafeed({
        get: 'user',
        userId: 3722752,
        accessToken: '3722752.467ede5.edc5948480384f54915ea14617ce6716',
        template: '<div class="swiper-slider"><a href="{{link}}"><img src="{{image}}" /></a></div>',
        after: function () {
            $('#instafeed').swiper({
                slidesToShow: 1
            });
        }
    });
    feed.run();

Hopefully someone can help me 😃 Thanks in advance!

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

2reactions
charlesravndalcommented, Aug 9, 2016

@Basilakis I’m so sorry for a very late reply. I just saw this today 😃

Here is what we did:

<script>
    var feed = new Instafeed({
        get: 'tagged',
        tagName: 'tagname here',
        userId: userid here,
        accessToken: 'Instagram access token here',
        resolution: 'standard_resolution',
        template: '<div class="swiper-slide"><a><img src="{{image}}" /></a></div>',
        after: function () {

            var swiper = new Swiper('.swiper-container', {

                effect: 'cube',
                grabCursor: true,
                loop: true,
                autoplay: 3000,
                cube: {
                    shadow: false,
                    slideShadows: false,
                    shadowOffset: 20,
                    shadowScale: 0.94
                }
            });
        }
    });
    feed.run();
</script>
0reactions
lock[bot]commented, Jun 26, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Swiper and Instafeed · Issue #1498 - GitHub
Hi! Is it possible to use the images fetched from Instafeed (http://instafeedjs.com/) into Swiper? I tried to append it like this, ...
Read more >
Instgram + Swiper - CodeSandbox
CodeSandbox is an online editor tailored for web applications.
Read more >
Instagram instafeed Image rotator/Slider - Stack Overflow
I am currently using the instafeed.js (http://instafeedjs.com/) script to pull in images from instagram and display them on my site.
Read more >
How to work with the "TM Instafeed" module - Zemez Support
“TM Instafeed” module displays recent photos you posted on Instagram using your Instagram access token. To configure the “TM Instafeed” ...
Read more >
30 Instafeed ideas - Pinterest
12/05/2019 - Explore Hila Krupik Photographer & Mak's board "Instafeed" on Pinterest. ... VSCO Filters on Instagram: “ ⛲️Swipe for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found