-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
35 lines (28 loc) · 941 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
layout: default
title: CheltBMX.co.uk
description: The home of CheltBMX.
featured_image: /images/social.jpg
---
<section class="listing single">
<div class="wrap">
<script src="https://cdn.jsdelivr.net/gh/stevenschobert/instafeed.js@2.0.0rc1/src/instafeed.min.js"></script>
<article class="listing-post">
<div id="instafeed"></div>
</article>
<script type="text/javascript">
fetch('https://ig.instant-tokens.com/users/62799705-73f9-467e-9e90-4d95a8140586/instagram/17841449335631852/token?userSecret=jnsy6lhsqlhh5kcs5q9sj')
.then(resp => resp.json())
.then(data => {
const feed = new Instafeed({
accessToken: data.Token, // Access token from json response
template: '<a href="\{\{link\}\}" class="listing-post__image" style="background-image: url(\{\{image\}\});"></a>',
});
feed.run();
})
.catch((error) => {
console.log(error)
});
</script>
</div>
</section>