freeCodeCamp/views/api/twitter.jade

27 lines
1004 B
Plaintext
Raw Normal View History

2013-12-10 07:18:42 +00:00
extends ../layout
block content
.page-header
h1
2013-12-10 07:41:18 +00:00
i.fa.fa-twitter(style='color: #4099ff')
2013-12-10 07:18:42 +00:00
| Twitter API
.btn-group.btn-group-justified
2013-12-10 07:58:03 +00:00
a.btn.btn-lg.btn-primary-outline(href='https://github.com/ttezel/twit', target='_blank')
2013-12-10 07:18:42 +00:00
i.fa.fa-file-text-o
| Twit Library Docs
2013-12-10 07:58:03 +00:00
a.btn.btn-lg.btn-primary-outline(href='https://dev.twitter.com/docs', target='_blank')
2013-12-10 07:18:42 +00:00
i.fa.fa-check-square-o
| Overview
2013-12-10 07:58:03 +00:00
a.btn.btn-lg.btn-primary-outline(href='https://dev.twitter.com/docs/api/1.1', target='_blank')
2013-12-10 07:18:42 +00:00
i.fa.fa-code-fork
| API Endpoints
2013-12-10 07:58:03 +00:00
h3.text-primary Latest 50 Tweets containing the word "Hackathon" within NYC 5 mile radius
2013-12-10 07:41:18 +00:00
ul.list
for tweet in tweets
li
small
strong #{tweet.user.name}
span.text-muted @#{tweet.user.screen_name}
2013-12-10 07:58:03 +00:00
.clearfix
- var image = tweet.user.profile_image_url.replace('_normal', '');
img.pull-left(src='#{image}', width=50, height=50)
2013-12-10 07:41:18 +00:00
small #{tweet.text}