Get started with instafeed.js CDN

MIT licensed

Instafeed.js is a lightweight library for integrating real-time Instagram feeds into websites.

Tags:
  • javascript
  • instagram

Stable version

Copied!

How to start using instafeed.js CDN


<!DOCTYPE html>
<html>
<head>
  <title>Get started with instafeed.js CDN - cdnhub.io</title>
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/instafeed.js/2.0.0/instafeed.min.css">
  <script src="https://cdn.cdnhub.io/instafeed.js/2.0.0/instafeed.min.js"></script>
</head>
<body>
  <div id="instagram-container"></div>
  <script>
    const feed = new Instafeed({
      container: '#instagram-container',
      accessToken: 'YOUR_ACCESS_TOKEN', // Replace with your Instagram access token
      limit: 12,
      resolution: 'thumbnail',
    });

    feed.run();
  </script>
</body>
</html>

All versions