Answer the question
In order to leave comments, you need to log in
How can I make slick slider pull up instagram photos using the instafeed js plugin?
How can I implement that the slider is initiated and its slides are photos downloaded from instagram through the instafeed js plugin?
Answer the question
In order to leave comments, you need to log in
var feed = new Instafeed({
get: 'user',
userId: 'USER_ID',
success : function(data) {
var slider = $('.slider').slick({
infinite: true,
slidesToShow: 3,
slidesToScroll: 3
});
// Далее перебираем ответ, циклом.
// И воспользовавшись методом slickAdd
slider.slick('slickAdd','<div><h3>Вставляем сюда переменные с значениями из ответа</h3></div>');
}
});
feed.run();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question