Get started with InstagramFeed CDN

MIT licensed

Embeds Instagram content, like hashtags or user feeds, on websites using library.

Tags:
  • instagram
  • feed
  • instagramfeed
  • without
  • access
  • token

Stable version

Copied!

How to start using InstagramFeed CDN


<!DOCTYPE html>
<html>
<head>
    <title>Get started with InstagramFeed CDN - cdnhub.io</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
    <script src="https://cdn.cdnhub.io/InstagramFeed/3.0.2/InstagramFeed.min.js"></script>
    <style>
        #instagram-feed {
            width: 100%;
            max-width: 600px;
            height: 600px;
            margin: 0 auto;
        }
    </style>
</head>
<body>
    <div id="instagram-feed"></div>
    <script>
        const feed = new InstagramFeed({
            username: 'your_instagram_username', // replace with your Instagram username
            clientId: 'your_instagram_app_id', // replace with your Instagram app ID
            container: document.getElementById('instagram-feed'),
            limit: 12, // number of posts to load
            after: function() {
                // callback function when new posts are loaded
            }
        });
        feed.run();
    </script>
</body>
</html>
Copied!
Copied!

All versions