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.
Has something changed recently?
Was originally getting Cannot authenticate errors on the Twitter Widget that came with dashing, switched to your version. now getting this error:
twitter-search.rb:3:in
<top (required)>': undefined method
configure' for Twitter:Module (NoMethodError)And dashing fails to start - any ideas?