oscarviedma

Scripts Instagram Feed js

Jan 21st, 2021 (edited)
469
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.instagramFeed/2.0.1/jquery.instagramFeed.min.js"></script>
  2.  
  3. <script>
  4. (function($){
  5. $(window).on('load', function(){
  6. $.instagramFeed({
  7. 'username': 'instagram',
  8. 'container': "#instagram-feed",
  9. 'display_profile': true,
  10. 'display_biography': true,
  11. 'display_gallery': true,
  12. 'display_captions': true,
  13. 'callback': null,
  14. 'styling': true,
  15. 'items': 8,
  16. 'items_per_row': 4,
  17. 'margin': 1,
  18. 'lazy_load': true,
  19. 'on_error': console.error
  20. });
  21. });
  22. })(jQuery);
  23. </script>
Add Comment
Please, Sign In to add comment