2013-12-10 07:18:42 +00:00
|
|
|
extends ../layout
|
2014-01-17 21:21:46 +00:00
|
|
|
|
2013-12-10 07:18:42 +00:00
|
|
|
block content
|
|
|
|
.page-header
|
2013-12-12 07:21:39 +00:00
|
|
|
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-12 07:21:39 +00:00
|
|
|
|
2013-12-10 07:18:42 +00:00
|
|
|
.btn-group.btn-group-justified
|
2014-01-17 21:21:46 +00:00
|
|
|
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
|
2014-01-17 21:21:46 +00:00
|
|
|
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
|
2014-01-17 21:21:46 +00:00
|
|
|
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
|
2014-01-17 21:21:46 +00:00
|
|
|
|
|
|
|
br
|
|
|
|
.lead Latest 50 Tweets containing "Hackathon" in NYC within 5 miles
|
|
|
|
|
2013-12-10 08:08:43 +00:00
|
|
|
ul.list-unstyled
|
2013-12-10 07:41:18 +00:00
|
|
|
for tweet in tweets
|
|
|
|
li
|
2013-12-10 08:08:43 +00:00
|
|
|
.panel.panel-default
|
|
|
|
.panel-body
|
|
|
|
.clearfix
|
|
|
|
- var image = tweet.user.profile_image_url.replace('_normal', '');
|
2013-12-10 08:10:43 +00:00
|
|
|
img.pull-left(src='#{image}', width=50, height=50, style='margin-right: 10px')
|
2014-01-17 21:21:46 +00:00
|
|
|
|
|
|
|
=tweet.user.name
|
|
|
|
small.text-muted @#{tweet.user.screen_name}
|
|
|
|
br
|
2013-12-10 08:08:43 +00:00
|
|
|
small #{tweet.text}
|