From a23cb870bc16a6f85ef0866aa3968ead04ecbcd2 Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Thu, 5 Jun 2014 12:11:43 -0400 Subject: [PATCH] Updated facebook api example --- views/api/facebook.jade | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/views/api/facebook.jade b/views/api/facebook.jade index c4fc047790..a316e3e0bc 100644 --- a/views/api/facebook.jade +++ b/views/api/facebook.jade @@ -5,7 +5,6 @@ block content h2 i.fa.fa-facebook-square(style='color: #335397') | Facebook API - .btn-group.btn-group-justified a.btn.btn-primary(href='https://developers.facebook.com/docs/graph-api/quickstart/', target='_blank') i.fa.fa-check-square-o @@ -17,8 +16,10 @@ block content i.fa.fa-code-fork | API Reference - h2 /me - img(src='https://graph.facebook.com/#{me.id}/picture?type=large', width='90', height='90') + h3 + i.fa.fa-user + | My Profile + img.thumbnail(src='https://graph.facebook.com/#{me.id}/picture?type=large', width='90', height='90') h4= me.name h6 First Name: #{me.first_name} h6 Last Name: #{me.last_name} @@ -29,10 +30,11 @@ block content h6 Locale: #{me.locale} h6 Timezone: #{me.timezone} - h2 /me/friends + h3 + i.fa.fa-group + | My Friends .row for friend in friends .col-xs-3.col-md-2 a.thumbnail(href='http://facebook.com/#{friend.id}') - img(src='https://graph.facebook.com/#{friend.id}/picture?width=150&height=150') - div.facebook-caption= friend.name + img(src='https://graph.facebook.com/#{friend.id}/picture?width=150&height=150') \ No newline at end of file