APIでデータ分析をするためのお勉強を始める。まずは開発者用のアカウント登録から。ググってもどれも古いものが多かったので、最新をまとめていく。
1サイトにアクセスする
Devリンク
2「Creat an app」をクリック
![WS000002](https://nextchallenge.site/wp-content/uploads/2021/05/WS000002-1024x405.jpg)
3APIの用途を聞かれるので自分の用途に合ったものを選ぶ。(私は画像の通り選択)
![WS000004](https://nextchallenge.site/wp-content/uploads/2021/05/WS000004-1024x453.jpg)
4すでにログイン済みのTwitterアカウントが合ったので連携された。残りの基本情報を入れます。そして「Next」
/what would you like us to call you? 任意
![WS000007](https://nextchallenge.site/wp-content/uploads/2021/05/WS000007-1024x433.jpg)
5APIを使う理由を作文する。私の記入例は以下。
Q:How will you use the Twitter API or Twitter Data?
In your words
In English, please describe how you plan to use Twitter data and/or APIs. The more detailed the response, the easier it is to review and approve.
A:I learn to API and will use API technology on my blog and web service. I will planning to display hashtag search.Then show what is being tweeted now.I want to get contents handled information for world wide users.
Q:Are you planning to analyze Twitter data?
A:Yes
Q:Please describe how you will analyze Twitter data including any analysis of Tweets or Twitter users.
A:Observe trends based on the amount and content of tweets for the relevant content and the number of users
Q:Will your app use Tweet, Retweet, Like, Follow, or Direct Message functionality?
A:NO
Q:Do you plan to display Tweets or aggregate data about Twitter content outside Twitter?
A:Yes
Q:Please describe how and where Tweets and/or data about Twitter content will be displayed outside of Twitter.
A:A list of tweets will be displayed as comments on the content and introduction of user opinions.And I will introduce them as raw voices.
Q:Will your product, service, or analysis make Twitter content or derived information available to a government entity?
A:No
6入力項目の確認
![WS000009](https://nextchallenge.site/wp-content/uploads/2021/05/WS000009.jpg)
7Policyを確認してチェックボックにチェックつけて「Submit」
![WS000010](https://nextchallenge.site/wp-content/uploads/2021/05/WS000010-1024x739.jpg)
8申請成功を確認
![WS000011](https://nextchallenge.site/wp-content/uploads/2021/05/WS000011.jpg)
9登録したメールアドレスへメールが届くので、内容を確認する。どうやらリンクをクリックしてアドレスの有効性を確かめるようだ。
![WS000013](https://nextchallenge.site/wp-content/uploads/2021/05/WS000013-1024x247.jpg)
10リンクをクリックすると申請完了だった。(何時間もかかるかもという前情報は一体・・・)
![WS000014](https://nextchallenge.site/wp-content/uploads/2021/05/WS000014-1024x492.jpg)
11Projects&Apps→OverView→New Projectをクリック
![WS000015](https://nextchallenge.site/wp-content/uploads/2021/05/WS000015-1024x700.jpg)
12プロジェクト名を決める
![WS000016](https://nextchallenge.site/wp-content/uploads/2021/05/WS000016.jpg)
13用途を決める
![WS000017](https://nextchallenge.site/wp-content/uploads/2021/05/WS000017.jpg)
14用途を説明する
![WS000019](https://nextchallenge.site/wp-content/uploads/2021/05/WS000019.jpg)
15どんなアプリケーションで使用するか名前を入れる
![WS000020](https://nextchallenge.site/wp-content/uploads/2021/05/WS000020.jpg)
16API keyもろもろが発行される。この表示は1回きり。忘れた場合は再発行となるのでメモする。
![WS000022](https://nextchallenge.site/wp-content/uploads/2021/05/WS000022.jpg)
※再発行はここから
![WS000023](https://nextchallenge.site/wp-content/uploads/2021/05/WS000023-1024x677.jpg)