[Twitter API]You must add your mobile phone to your Twitter profile before creating an application.




TwitterのdeveloperサイトでAPIKeyを発行するときに、電話番号の入力を求められてしまい、登録できない場合の対処方法です。

(APIKey発行手順)
デベロッパーサイト「https://dev.twitter.com/」のフッターの「TOOLS」の「Manage Your Apps」からAPIKeyを発行する登録を開始します。

「https://apps.twitter.com/」のページに移動し、「Create New App」ボタンを押します。

「Create an application」の画面で
・Name
・Description
・Website
・Callback URL(必須ではない)
を入力して、下部の規約に同意し、「Create Your Twitter application」ボタンを押します。

すると、下記のようなエラーが出てきます。(これが電話番号登録を促すメッセージです)

Error
You must add your mobile phone to your Twitter profile before creating an application. Please read https://support.twitter.com/articles/110250-adding-your-mobile-number-to-your-account-via-web for more information

さて、Twitterのページ(ウェブ)にログインして、携帯電話番号を登録しようと試みました。
「設定」→「モバイル」で電話番号を登録すると、携帯電話にSMSが届きます。
そのSMSに認証用コードが書いてあるのでその認証番号をWebに入力しますが、エラーになります。

これではAPIKeyが発行できない!

ウェブのページから携帯登録できないので、スマートフォンのTwitterアプリをインストールしてログイン終了後にもう一度アプリ登録してみると、「You must add your mobile phone to your Twitter profile before creating an application」のメッセージが出ずに、登録できました。

人気記事一覧


関連記事一覧

This entry was posted in API, twitter-api and tagged , , . Bookmark the permalink.

コメントは受け付けていません。