mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
Move English help to en-US directory (#592)
* Move English help about e-mail node to en-US directory * Move English help about rbe node to en-US directory * Move English help about tail node to en-US directory * Move English help about twitter node to en-US directory * Move English help about feedparse node to en-US directory * Move English help about sentiment node to en-US directory
This commit is contained in:
committed by
Dave Conway-Jones
parent
676ba58210
commit
870a2146c0
@@ -1,4 +1,3 @@
|
||||
|
||||
<script type="text/x-red" data-template-name="twitter-credentials">
|
||||
<div class="form-row">
|
||||
<label for="node-config-input-screen_name"><i class="fa fa-twitter"></i> <span data-i18n="twitter.label.twitter-id"></span></label>
|
||||
@@ -32,15 +31,6 @@
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script type="text/x-red" data-help-name="twitter-credentials">
|
||||
<p>Authentication for the Twitter API</p>
|
||||
<p>Earlier versions of this node provided one-click authentication. Twitter removed the ability
|
||||
to do that in June 2018. You must now register your own application with
|
||||
<a href="https://developer.twitter.com/">Twitter</a> and generate your own access tokens.</p>
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
(function() {
|
||||
var twitterConfigNodeId = null;
|
||||
@@ -109,33 +99,6 @@
|
||||
<div class="form-tips"><span data-i18n="[html]twitter.tip"></span></div>
|
||||
</script>
|
||||
|
||||
<script type="text/x-red" data-help-name="twitter in">
|
||||
<p>Twitter input node. Can be used to search either:
|
||||
<ul><li>the public stream for tweets containing the configured search term</li>
|
||||
<li>tweets from accounts that the authenticated user follows</li>
|
||||
<li>tweets by specified users</li>
|
||||
<li>direct messages received by the authenticated user</li>
|
||||
</ul></p>
|
||||
<h3>Outputs</h3>
|
||||
<dl class="message-properties">
|
||||
<dt>payload <span class="property-type">string</span></dt>
|
||||
<dd>the text of the tweet</dd>
|
||||
<dt>topic <span class="property-type">string</span></dt>
|
||||
<dd>set to <code>tweets/<i>screen_name</i></code></dd>
|
||||
<dt>tweet <span class="property-type">object</span></dt>
|
||||
<dd>the full tweet object returned by the Twitter API</dd>
|
||||
<dt>location <span class="property-type">object</span></dt>
|
||||
<dd>location information associated with the tweet, if known</dd>
|
||||
</dl>
|
||||
<h3>Details</h3>
|
||||
<p>When searching for multiple terms, use a space for <i>and</i> and comma `,` for <i>or</i>.</p>
|
||||
<p>The full tweet object is documented <a href="https://developer.twitter.com/en/docs/tweets/data-dictionary/overview/tweet-object" target="_new">here</a>.</p>
|
||||
<p><b>Note:</b> this node is subject to the rate limiting restrictions of the Twitter
|
||||
API. It polls the API once a minute for updates. If you deploy frequently you may
|
||||
exceed the limit. The node will automatically delay polling until the end of the current
|
||||
rate limiting window.</p>
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('twitter in',{
|
||||
category: 'social-input',
|
||||
@@ -204,7 +167,6 @@
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
<script type="text/x-red" data-template-name="twitter out">
|
||||
<div class="form-row">
|
||||
<label for="node-input-twitter"><i class="fa fa-user"></i> <span data-i18n="twitter.label.twitter-id"></span></label>
|
||||
@@ -216,27 +178,6 @@
|
||||
</div>
|
||||
</script>
|
||||
|
||||
<script type="text/x-red" data-help-name="twitter out">
|
||||
<p>Send tweets and direct messages.</p>
|
||||
<h3>Inputs</h3>
|
||||
<dl class="message-properties">
|
||||
<dt>payload <span class="property-type">string</span></dt>
|
||||
<dd>Sent as the body of the tweet. See below for how to send a Direct Message</dd>
|
||||
<dt class="optional">media <span class="property-type">buffer</span></dt>
|
||||
<dd>A Buffer of an image to attach to the tweet</dd>
|
||||
<dt class="optional">params <span class="property-type">object</span></dt>
|
||||
<dd>Additional parameters to pass to the Twitter status update API.</dd>
|
||||
</dl>
|
||||
<h3>Details</h3>
|
||||
<p>This nodes sends a tweet for the authenticated user. If <code>msg.media</code>
|
||||
is set and contains a Buffer, it is attached as an image.</p>
|
||||
<p>To send a Direct Message, the payload should be formatted as: <code>D {username} {message}</code>.</p>
|
||||
<p>Note that you cannot attach an image to a direct message.</p>
|
||||
<p>If <code>msg.params</code> exists and is an object of name:value pairs, they
|
||||
will be included in the request to the Twitter api. The available values are documented
|
||||
<a href="https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-update#parameters" target="_new">here</a>.</p>
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
RED.nodes.registerType('twitter out',{
|
||||
category: 'social-output',
|
||||
|
Reference in New Issue
Block a user