HeyCHのブログ

慢性疲労のへいちゃんです

【C#】CoreTweetを使ってみよう その0

f:id:HeyCH:20200520010326p:plain今回の記事はやりながら書いているので、疑問形が多くなります。

まずはコンシュマー キーとコンシューマー シークレットを用意します

TwitterAPI を操作するアプリケーションを開発するには、https://apps.twitter.com/Twitter のアカウントでログインして、開発するアプリケーションの登録を行う必要があります。

という事なので、https://apps.twitter.com/に移動
f:id:HeyCH:20200520001442p:plain

「Create an app」を押してみる。
f:id:HeyCH:20200520001608p:plain

英語は読めないので「Apply」を押してみる。
f:id:HeyCH:20200520001723p:plain

Making a botに☑を入れてNextを押してみる
f:id:HeyCH:20200520001847p:plain

f:id:HeyCH:20200520002120p:plain

Add a valid phone numberを押してみる
電話番号を入力してみる
f:id:HeyCH:20200520002702p:plain

認証コードを入力してみる
f:id:HeyCH:20200520002921p:plain
すると電話番号登録完了

リロードしてみる
f:id:HeyCH:20200520003205p:plain

下の質問に答えてNextを押してみる
f:id:HeyCH:20200520003329p:plain

さらに質問が出てくる!!200文字以上とか!!!(審査とかあるんか?)
f:id:HeyCH:20200520003658p:plain

  • 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.
I want to follow a follower using the Twitter API.
Also, I might use the Twitter API to make robots that Tweet automatically.
This is for personal use at the moment, but we may publish it if it is interesting.
  • Are you planning to analyze Twitter data?

NO

  • Will your app use Tweet, Retweet, like, follow, or Direct Message functionality?
Yes. I plan to add a function to follow robots and followers with automatic Tweet function to the application.
  • Do you plan to display Tweets or aggregate data about Twitter content outside of Twitter?

NO

  • Will your product, service or analysis make Twitter content or derived information available to a government entity?

NO

Nextf:id:HeyCH:20200520010326p:plainをおしてみる(リザルト画面)
f:id:HeyCH:20200520010326p:plain

Looks good!を押してみる
f:id:HeyCH:20200520010539p:plain

☑をいれて、Submit Applicationを押してみる
f:id:HeyCH:20200520010704p:plain

メールを確認してみる
f:id:HeyCH:20200520010840p:plain

Confirm your emailを押してみる
f:id:HeyCH:20200520010926p:plain

Create an appを押してみる
f:id:HeyCH:20200520011147p:plain

もっかいCreate an appを押してみる
f:id:HeyCH:20200520011436p:plain

requiredのみ記入(Tell us how this app will be usedには上記で記入した200文字以上のあれを入力してみました)しCreateを押してみる
f:id:HeyCH:20200520012413p:plain

Createを押してみる
f:id:HeyCH:20200520012727p:plain

やっとのことでConsumer API keysをゲット!!!

メールアドレス消すの面倒で消してないけどいたずらメールはやめようね!