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've followed your directions but nothing is being pulled into the widget when I start the dashboard. Was there anything else I needed to add?