freeCodeCamp/views/api/twitter.jade

32 lines
1.0 KiB
Plaintext
Raw Normal View History

2013-12-10 07:18:42 +00:00
extends ../layout
2013-12-10 07:18:42 +00:00
block content
.page-header
h2
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
2013-12-10 07:18:42 +00:00
.btn-group.btn-group-justified
a.btn.btn-success(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
a.btn.btn-success(href='https://dev.twitter.com/docs', target='_blank')
2013-12-10 07:18:42 +00:00
i.fa.fa-check-square-o
| Overview
a.btn.btn-success(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
br
.lead Latest #{tweets.length} Tweets containing the term "nodejs" in NYC within 5 miles radius
ul.media-list
2013-12-10 07:41:18 +00:00
for tweet in tweets
li.media
a.pull-left(href='#')
- var image = tweet.user.profile_image_url.replace('_normal', '');
img.media-object(src='#{image}', style='width: 64px; height: 64px;')
.media-body
strong.media-heading #{tweet.user.name}
span.text-muted @#{tweet.user.screen_name}
p= tweet.text