mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Add configurable screenName to Twitter module
This commit is contained in:
@@ -403,12 +403,21 @@
|
||||
<option value="/modules/circleci/" selected>- CircleCI</option>
|
||||
<option value="/modules/clocks/" >- Clocks</option>
|
||||
<option value="/modules/cmdrunner/" >- CmdRunner</option>
|
||||
<option value="/modules/cryptocurrencies/" >
|
||||
-
|
||||
Crypo Currencies</option>
|
||||
<option value="/modules/gerrit/" >- Gerrit</option>
|
||||
<option value="/modules/git/" >- Git</option>
|
||||
<option value="/modules/github/" >- GitHub</option>
|
||||
<option value="/modules/gitlab/" >- GitLab</option>
|
||||
<option value="/modules/gitter/" >- Gitter</option>
|
||||
<option value="/modules/google/" >
|
||||
-
|
||||
Google Apps</option>
|
||||
<option value="/modules/hackernews/" >- Hacker News</option>
|
||||
<option value="/modules/ipaddress/" >
|
||||
-
|
||||
IP Addresses</option>
|
||||
<option value="/modules/jenkins/" >- Jenkins</option>
|
||||
<option value="/modules/jira/" >- Jira</option>
|
||||
<option value="/modules/logger/" >- Logger</option>
|
||||
@@ -422,6 +431,9 @@
|
||||
<option value="/modules/travisci/" >- TravisCI</option>
|
||||
<option value="/modules/trello/" >- Trello</option>
|
||||
<option value="/modules/twitter/" >- Twitter</option>
|
||||
<option value="/modules/weather_services/" >
|
||||
-
|
||||
Weather Services</option>
|
||||
<option value="/modules/zendesk/" >- Zendesk</option>
|
||||
|
||||
|
||||
|
||||
@@ -404,12 +404,25 @@
|
||||
<option value="/modules/circleci/" >- CircleCI</option>
|
||||
<option value="/modules/clocks/" >- Clocks</option>
|
||||
<option value="/modules/cmdrunner/" >- CmdRunner</option>
|
||||
<option value="/modules/cryptocurrencies/" >
|
||||
-
|
||||
Crypo Currencies</option>
|
||||
<option value="/modules/cryptocurrencies/bittrex/" >-- Bittrex</option>
|
||||
<option value="/modules/cryptocurrencies/blockfolio/" selected>-- Blockfolio</option>
|
||||
<option value="/modules/cryptocurrencies/cryptolive/" >-- CryptoLive</option>
|
||||
|
||||
<option value="/modules/gerrit/" >- Gerrit</option>
|
||||
<option value="/modules/git/" >- Git</option>
|
||||
<option value="/modules/github/" >- GitHub</option>
|
||||
<option value="/modules/gitlab/" >- GitLab</option>
|
||||
<option value="/modules/gitter/" >- Gitter</option>
|
||||
<option value="/modules/google/" >
|
||||
-
|
||||
Google Apps</option>
|
||||
<option value="/modules/hackernews/" >- Hacker News</option>
|
||||
<option value="/modules/ipaddress/" >
|
||||
-
|
||||
IP Addresses</option>
|
||||
<option value="/modules/jenkins/" >- Jenkins</option>
|
||||
<option value="/modules/jira/" >- Jira</option>
|
||||
<option value="/modules/logger/" >- Logger</option>
|
||||
@@ -423,6 +436,9 @@
|
||||
<option value="/modules/travisci/" >- TravisCI</option>
|
||||
<option value="/modules/trello/" >- Trello</option>
|
||||
<option value="/modules/twitter/" >- Twitter</option>
|
||||
<option value="/modules/weather_services/" >
|
||||
-
|
||||
Weather Services</option>
|
||||
<option value="/modules/zendesk/" >- Zendesk</option>
|
||||
|
||||
|
||||
|
||||
@@ -327,7 +327,7 @@ Connects to the Twitter API and displays a single user&rsquo;s tweets.
|
||||
NOTE: This only works for single-application developer accounts for now.
|
||||
To make this work, you&rsquo;ll need a couple of things:
|
||||
A Twitter developer account A Twitter bearer token. Once you have your developer account, a relatively painless way to get a bearer token is to use TBT.
|
||||
Source Code wtf/twitter/ Configuration twitter:bearerToken:&#34;3276d7155dd9ee27b8b14f8743a408a9&#34;enabled:trueposition:top:0left:1height:1width:1refreshInterval:20000 Attributes bearerToken Value: Your Twitter single-application Bearer Token</description>
|
||||
Source Code wtf/twitter/ Configuration twitter:bearerToken:&#34;3276d7155dd9ee27b8b14f8743a408a9&#34;enabled:trueposition:top:0left:1height:1width:1refreshInterval:20000screenName:&#34;wtfutil&#34; Attributes bearerToken Value: Your Twitter single-application Bearer Token</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
||||
@@ -491,7 +491,8 @@ bearer token is to use <a href="https://github.com/Trinergy/twitter_bearer_token
|
||||
</span><span class="w"> </span>left<span class="p">:</span><span class="w"> </span><span class="m">1</span><span class="w">
|
||||
</span><span class="w"> </span>height<span class="p">:</span><span class="w"> </span><span class="m">1</span><span class="w">
|
||||
</span><span class="w"> </span>width<span class="p">:</span><span class="w"> </span><span class="m">1</span><span class="w">
|
||||
</span><span class="w"> </span>refreshInterval<span class="p">:</span><span class="w"> </span><span class="m">20000</span></code></pre></div>
|
||||
</span><span class="w"> </span>refreshInterval<span class="p">:</span><span class="w"> </span><span class="m">20000</span><span class="w">
|
||||
</span><span class="w"> </span>screenName<span class="p">:</span><span class="w"> </span><span class="s2">"wtfutil"</span></code></pre></div>
|
||||
<h3 id="attributes">Attributes</h3>
|
||||
|
||||
<p><code>bearerToken</code> <br />
|
||||
@@ -508,6 +509,10 @@ Defines where in the grid this module’s widget will be displayed. <br /></
|
||||
How often, in seconds, this module will update its data. <br />
|
||||
Values: Any positive integer, <code>0..n</code>.</p>
|
||||
|
||||
<p><code>screenName</code> <br />
|
||||
The screen name of the Twitter user who’s tweets you want to follow. <br />
|
||||
Values: Any valid Twitter user’s screen name.</p>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -354,6 +354,20 @@
|
||||
<a href="/modules/weather_services/">Weather Services</a><i class="fa fa-angle-right fa-lg category-icon"></i><i class="fa fa-circle-thin read-icon"></i>
|
||||
</div>
|
||||
<ul>
|
||||
<li data-nav-id="/modules/weather_services/prettyweather/" class="dd-item">
|
||||
<div>
|
||||
<a href="/modules/weather_services/prettyweather/">
|
||||
Pretty Weather
|
||||
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||
</div>
|
||||
</li>
|
||||
<li data-nav-id="/modules/weather_services/weather/" class="dd-item">
|
||||
<div>
|
||||
<a href="/modules/weather_services/weather/">
|
||||
Weather
|
||||
</a><i class="fa fa-circle-thin read-icon"></i>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li data-nav-id="/modules/zendesk/" class="dd-item active">
|
||||
|
||||
Reference in New Issue
Block a user