-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstagramapi.html
46 lines (40 loc) · 954 Bytes
/
instagramapi.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
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html>
<head>
<title>Instagram Test</title>
<meta charset="utf-8">
<link href="https://fonts.googleapis.com/css?family=Indie+Flower" rel="stylesheet">
<style>
div.image {
padding: 10px;
float:left;
margin-right:5px;
}
div.img-container {
overflow: hidden;
margin: 0 auto;
width: 100%;
}
</style>
</head>
<body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
<!-- requires authorization -->
<!--<script>
$.getScript("instagramapi.js",function(){
getUserRecentMedia("bellasjardin", 12);
});
</script>-->
<!-- no authorization required -->
<script>
$.getScript("instagramapi.js",function(){
getUserMediaNoAuth("bellasjardin", 12);
});
</script>
<h2 style="text-align:center;color:darkblue">Instagram Test</h2>
<br>
<div class="img-container">
<div class="img" id="instagram-images"></div>
</div>
</body>
</html>