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