Updated instagram api example
parent
0f78ff0117
commit
b494a0c252
|
@ -3,7 +3,7 @@ extends ../layout
|
||||||
block content
|
block content
|
||||||
.page-header
|
.page-header
|
||||||
h2
|
h2
|
||||||
i.fa.fa-instagram
|
i.fa.fa-instagram(style='color: #517fa4')
|
||||||
| Instagram API
|
| Instagram API
|
||||||
.btn-group.btn-group-justified
|
.btn-group.btn-group-justified
|
||||||
a.btn.btn-primary(href='http://instagram.com/developer/', target='_blank')
|
a.btn.btn-primary(href='http://instagram.com/developer/', target='_blank')
|
||||||
|
@ -18,7 +18,7 @@ block content
|
||||||
|
|
||||||
br
|
br
|
||||||
p.lead Username Search for
|
p.lead Username Search for
|
||||||
strong lisa_veronica
|
strong richellemead
|
||||||
table.table.table-hover.table-bordered
|
table.table.table-hover.table-bordered
|
||||||
thead
|
thead
|
||||||
tr
|
tr
|
||||||
|
@ -40,12 +40,12 @@ block content
|
||||||
strong 175948269
|
strong 175948269
|
||||||
|
|
||||||
|
|
||||||
img.thumbnail(src='#{userById.profile_picture}', width='75', height='75')
|
.media
|
||||||
p
|
a.pull-left(href='http://instagram.com/#{userById.username}')
|
||||||
a(href='http://instagram.com/#{userById.username}')
|
img.thumbnail(src='#{userById.profile_picture}', width='110', height='110')
|
||||||
strong #{userById.full_name}
|
.media-body
|
||||||
br
|
h4= userById.full_name
|
||||||
| #{userById.bio}
|
p= userById.bio
|
||||||
|
|
||||||
hr
|
hr
|
||||||
p.lead
|
p.lead
|
||||||
|
@ -56,9 +56,7 @@ block content
|
||||||
.col-xs-3
|
.col-xs-3
|
||||||
a.thumbnail(href='#{image.link}')
|
a.thumbnail(href='#{image.link}')
|
||||||
img(src='#{image.images.standard_resolution.url}', height='320px')
|
img(src='#{image.images.standard_resolution.url}', height='320px')
|
||||||
div.facebook-caption
|
|
||||||
i.fa.fa-heart
|
|
||||||
| #{image.likes.count}
|
|
||||||
|
|
||||||
|
|
||||||
hr
|
hr
|
||||||
|
@ -70,6 +68,3 @@ block content
|
||||||
.col-xs-3
|
.col-xs-3
|
||||||
a.thumbnail(href='#{image.link}')
|
a.thumbnail(href='#{image.link}')
|
||||||
img(src='#{image.images.standard_resolution.url}', height='320px')
|
img(src='#{image.images.standard_resolution.url}', height='320px')
|
||||||
div.facebook-caption
|
|
||||||
i.fa.fa-heart
|
|
||||||
| #{image.likes.count}
|
|
Loading…
Reference in New Issue