This commit is contained in:
shangqiyuan
2026-05-10 01:07:20 +08:00
commit 122d373804
174 changed files with 25788 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
extends ../layout
block content
.page-header
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
| Quickstart
a.btn.btn-primary(href='https://developers.facebook.com/tools/explorer', target='_blank')
i.fa.fa-facebook
| Graph API Explorer
a.btn.btn-primary(href='https://developers.facebook.com/docs/graph-api/reference/', target='_blank')
i.fa.fa-code-fork
| API Reference
h3
i.fa.fa-user
| My Profile
img.thumbnail(src=`https://graph.facebook.com/${profile.id}/picture?type=large`, width='90', height='90')
h4= profile.name
h6 First Name: #{profile.first_name}
h6 Last Name: #{profile.last_name}
h6 Gender: #{profile.gender}
h6 Username: #{profile.username}
h6 Link: #{profile.link}
h6 Email: #{profile.email}
h6 Locale: #{profile.locale}
h6 Timezone: #{profile.timezone}
+13
View File
@@ -0,0 +1,13 @@
extends ../layout
block content
h2 API Examples
hr
.row
.col-sm-4
a(href='/api/facebook', style='color: #fff')
.panel.panel-default(style='background-color: #3b5998')
.panel-body
img(src='http://i.imgur.com/jiztYCH.png', height=40)
| Facebook