2013-12-10 02:18:42 -05:00
|
|
|
extends ../layout
|
|
|
|
block content
|
|
|
|
.page-header
|
|
|
|
h1
|
2013-12-10 02:41:18 -05:00
|
|
|
i.fa.fa-twitter(style='color: #4099ff')
|
2013-12-10 02:18:42 -05:00
|
|
|
| Twitter API
|
|
|
|
.btn-group.btn-group-justified
|
|
|
|
a.btn.btn-lg.btn-primary(href='https://github.com/ttezel/twit', target='_blank')
|
|
|
|
i.fa.fa-file-text-o
|
|
|
|
| Twit Library Docs
|
|
|
|
a.btn.btn-lg.btn-primary(href='https://dev.twitter.com/docs', target='_blank')
|
|
|
|
i.fa.fa-check-square-o
|
|
|
|
| Overview
|
|
|
|
a.btn.btn-lg.btn-primary(href='https://dev.twitter.com/docs/api/1.1', target='_blank')
|
|
|
|
i.fa.fa-code-fork
|
|
|
|
| API Endpoints
|
2013-12-10 02:41:18 -05:00
|
|
|
h3.text-primary Latest 50 Tweets containing the word "Hackathon"
|
|
|
|
ul.list
|
|
|
|
for tweet in tweets
|
|
|
|
li
|
|
|
|
small
|
|
|
|
strong #{tweet.user.name}
|
|
|
|
span.text-muted @#{tweet.user.screen_name}
|
|
|
|
img(src='#{tweet.user.profile_image_url}')
|
|
|
|
p.well
|
|
|
|
small #{tweet.text}
|