Googleアクセストークンによるユーザー情報の取得をテストしています
サインインボタンをクリックすると、リダイレクトされます
https://www.googleapis.com/oauth2/v1/tokeninfo?access_token=access_token_here
そして、このようなJSONデータを取得します
{
"issued_to": "my client id.apps.googleusercontent.com",
"audience": "my client id.apps.googleusercontent.com",
"user_id": "user id here",
"scope": "https://www.googleapis.com/auth/plus.login",
"expires_in": 3596,
"access_type": "online"
}
今、私はユーザー名、住所、メールを抽出する方法を知る必要があります。
前もって感謝します