Skip to content

sft8192/Twitter4jTutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Twitter4jTutorial

Twitter4jのチュートリアルプログラム

Description

全公開ツイートの1%を抽出する

CSVファイルも作成可能

Requirement

twitter4j: http://twitter4j.org/ja/index.html

twitter開発者アカウント

CreateAccount

  1. Twitterアカウントを作成
  2. 携帯電話番号を登録して認証
  3. https://apps.twitter.com/ にアクセスしてCreate a new applicationをクリック
  4. [Name]、[Description]、[Website]を適当に入力
  5. [Key and Access Tokens]タブの[Consumer key] と [Consumer secret] をメモ
  6. [Create my access token] をクリックし[Access token] と [Access token secret] をメモ

Usage

srcフォルダ直下に以下の内容のtwitter4j.propertiesを作成

debug=true
oauth.consumerKey=****************
oauth.consumerSecret=****************
oauth.accessToken=****************
oauth.accessTokenSecret=****************

twitter4jライブラリを入れてプログラムを起動

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages