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
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」のメッセージが出ずに、登録できました。
人気記事一覧
- MySQL 最大の値・最新の日付データを1つ抽出する方法(MAX)
- [CakePHP] XformHelperの使い方
- Linux: スワップファイル(swp)の削除方法
- HTMLのForm methodとactionについて
- PHPでカンマ区切りデータを配列に入れる方法 (explode)
- [エラー対処] failed to open stream: No such file or directory
- [CSS]ブロック要素(div)の高さを、内部のfloat要素に合わせて自動調整する
- [vsftp] FileZillaから接続できない場合の対処法
- PHP5.1→PHP5.3へバージョンアップする方法(CentOS)
- PHPでテキストを1行ずつ読み込む方法(file_get_contents,explode)