Skip to content
This repository has been archived by the owner on Mar 9, 2019. It is now read-only.

Google Plus API Shutdown #21

Open
muneebaahmad opened this issue Feb 7, 2019 · 3 comments
Open

Google Plus API Shutdown #21

muneebaahmad opened this issue Feb 7, 2019 · 3 comments

Comments

@muneebaahmad
Copy link

Should we stop using this gem starting March 7th, 2019? See the article below:

https://developers.google.com/+/api-shutdown

@seejohnrun
Copy link
Owner

Yeah - at that point I'll likely just archive this repo - thanks for the heads up!

@muneebaahmad
Copy link
Author

For people who are looking for a solution for this, I was able to get around this issue by just making an API call to the following endpoint using https://www.googleapis.com/oauth2/v2/userinfo. You can use the same access_token in the Authorization header as the one you use for this gem. The response from google will look like the following:

{
    "id": "4236436245",
    "email": "[email protected]",
    "verified_email": true,
    "name": "David Beckham",
    "given_name": "David",
    "family_name": "Beckham",
    "link": "https://plus.google.com/4236436245",
    "picture": "https://lh3.googleusercontent.com/-a5rGm7P4sdfasdfg/AAAAAAAAAAI/AAAAAAAAC2c/EHpJrKetbKI/photo.jpg",
    "gender": "male",
    "locale": "en"
}

I suggest you try it out using Curl, Postman or Insomnia before starting the implementation.

@seejohnrun
Copy link
Owner

I'll leave this issue around for reference for people, but archiving the repo now. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants