Get started with jquery.instagramFeed CDN
MIT licensed
Displays Instagram photos in a responsive grid with jQuery.instagramFeed plugin.
Tags:- feed
- instagramfeed
- without
- access
- token
Stable version
Copied!
How to start using jquery.instagramFeed CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with jquery.instagramFeed CDN - cdnhub.io</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/5.3.2/css/bootstrap.min.css">
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="https://cdn.cdnhub.io/jquery.instagramFeed/3.0.4/jquery.instagramFeed.min.js"></script>
<style>
.instagram-feed { list-style-type: none; padding: 0; margin: 0; }
.instagram-feed li { margin-bottom: 10px; }
.instagram-feed img { width: 100%; }
</style>
</head>
<body>
<div id="instagram-feed"></div>
<script>
$(document).ready(function() {
$('#instagram-feed').instagramFeed({
username: 'your_instagram_username', // replace with your Instagram username
access_token: 'your_instagram_access_token', // replace with your Instagram access token
template: '<li><a href="{{link}}" target="_blank"><img src="{{image}}" alt="{{caption}}"></a></li>',
getDataOnPage: false,
loading: '<p>Loading...</p>',
error: '<p>An error occurred while loading the feed.</p>'
});
});
</script>
</body>
</html>
Copied!
Copied!