Simple Dashing widget (and associated job) to display a Twitter search. Uses Twitter API v1.1.
##Dependencies
Add it to dashing's gemfile:
gem 'twitter'
and run bundle install
. Everything should work now :)
##Usage
Put the twitter-search.rb
file in your /jobs
folder.
To include the widget in a dashboard, add the following snippet to the dashboard layout file:
<li data-row="1" data-col="1" data-sizex="1" data-sizey="1">
<div data-id="twitter_mentions" data-view="Comments" data-title="Search Tweets" style="background-color: #71388a"></div>
</li>
##Settings
You'll need to add the twitter configs for your desired account to the job.
Tweets are fetched every 10 minutes, but you can change that by editing the job schedule.
I'm getting a weird SSL error whenever I launch dashing.. suspect it is coming from the twitter gem.
"SSL_connect SYSCALL returned=5 errno=0 state=unknown state"
Could be coming from the fact that I'm using this behind a crappy proxy that has a tendency to mangle SSL...
Any ideas?