STUDY MEMO

学習のメモ書き

twitter api関連

< Node.js > twitter API v2のツイート取得

環境設定 You will need to have Node.js installed to run this code. All Node.js examples use needle as the HTTP client, which needs to be npm installed. For OAuth with user context requests, you'll need to install the got and oauth-1.0a pac…

<twitter> bearer token生成について

bear token 一般的に使用されている認証方法。 公式doc↓ ベアラートークンを使用すると、開発者はOAuth 2.0のコア機能の1つであるTwitter APIを使用するためのより安全なエントリーポイントを持つことができます。 ベアラートークンを使用する認証は、アプリ…

<twitter> node.jsでのtwitter情報取得

twitter.js var Twitter = require('twitter'); var client = new Twitter({ consumer_key: '', consumer_secret: '', access_token_key: '', access_token_secret: '' }); client.get('search/tweets', { q: 'twitterアカウント名' }, function (error, twe…