forked from robedge/jquery.instagram.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
81 lines (67 loc) · 1.92 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html public>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link rel="stylesheet" type="text/css" href="/stylesheets/instagram.css" />
<!-- Internet Explorer HTML5 enabling code: -->
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<style type="text/css">
.clear {
zoom: 1;
display: block;
}
</style>
<![endif]-->
</head>
<body>
<section id="page">
<header>
<hgroup>
<h1>jquery.instagram.js</h1>
</hgroup>
<nav class="clear"></nav>
</header>
<section id="articles">
<h1>My Feed</h1>
<div id="me"></div>
<h1>Snoop's Feed</h1>
<div id="user"></div>
<h1>My Likes Feed</h1>
<div id="myLikes"></div>
<h1>Popular</h1>
<div id="popular"></div>
<h1>Tagged Search</h1>
<div id="search"></div>
</section>
<footer>
<div class="line"></div>
<p></p>
</footer>
</section>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
<script src="javascripts/jquery.instagram.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#me").instagram('getStream', {
count: 4
});
$("#user").instagram('getStream', {
count: 4,
user: 1574083
});
$("#myLikes").instagram('getMyLikes', {
count: 4
});
$("#popular").instagram('getPopularStream', {
count: 4
});
$("#search").instagram('getStreamByTag', {
count: 4,
tag: 'transformers'
});
});
</script>
</body>
</html>