node-red-nodes/social/twitter/locales/ja/27-twitter.html

49 lines
4.0 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!-- Source revision: https://github.com/node-red/node-red-nodes/commit/425f5c151fa35b8f4a4df3956fbc3ac07e74f195 -->
<script type="text/html" data-help-name="twitter-credentials">
<p>Twitter APIの認証</p>
<p>初期のバージョンのノードは1クリック認証を提供していましたTwitterは2018年6月にこの機能を削除しました現在は<a href="https://developer.twitter.com/">Twitter</a>access token</p>
</script>
<script type="text/html" data-help-name="twitter in">
<p>twitter入力ード以下を検索するために利用します:
<ul><li>指定した検索語を含む公開ストリームのツイート</li>
<li>認証したユーザがフォローしているアカウントからのツイート</li>
<li>指定したユーザのツイート</li>
<li>認証したユーザが受け取ったダイレクトメッセージ</li>
</ul></p>
<h3>出力</h3>
<dl class="message-properties">
<dt>payload <span class="property-type">文字列</span></dt>
<dd>ツイートの本文</dd>
<dt>topic <span class="property-type">文字列</span></dt>
<dd><code>tweets/<i>screen_name</i></code></dd>
<dt>tweet <span class="property-type">オブジェクト</span></dt>
<dd>Twitter APIから返された完全なツイートオブジェクト</dd>
<dt>location <span class="property-type">オブジェクト</span></dt>
<dd>存在する場合ツイートと関連付けされた位置情報</dd>
</dl>
<h3>詳細</h3>
<p>複数の検索語を指定する場合スペース文字で<i>and</i>、コンマ「,」で<i>or</i>を表します検索語を<code>msg.payload</code><b>for</b></p>
<p>完全なツイートオブジェクトについては<a href="https://developer.twitter.com/en/docs/tweets/data-dictionary/overview/tweet-object" target="_new">ここ</a></p>
<p><b>:</b> Twitter API11API</p>
</script>
<script type="text/html" data-help-name="twitter out">
<p>ツイートやダイレクトメッセージを送信します</p>
<h3>入力</h3>
<dl class="message-properties">
<dt>payload <span class="property-type">文字列</span></dt>
<dd>送信するツイートの本体ダイレクトメッセージを送信する方法は以下を参照してください</dd>
<dt class="optional">media <span class="property-type">バッファ</span></dt>
<dd>ツイートに添付する画像のバッファ</dd>
<dt class="optional">params <span class="property-type">オブジェクト</span></dt>
<dd>Twitterの状態更新APIに渡すための追加パラメータ</dd>
</dl>
<h3>詳細</h3>
<p><code>msg.media</code></p>
<p>ダイレクトメッセージ(DM)を送るには"D {ユーザ名} {メッセージ}"形式のペイロードを用います</p>
<p>ダイレクトメッセージに画像を添付することはできません</p>
<p><code>msg.params</code>に「名前:値」の組みからなるオブジェクトを指定すると、Twitter APIの更新リクエストのパラメータとして用います。利用できる値については、<a href="https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-update#parameters" target="_new">ここ</a></p>
</script>