Skip to content

Instantly share code, notes, and snippets.

@msafi
Last active June 3, 2025 14:17
Show Gist options
  • Save msafi/b1cb05bfab5b897c57e6 to your computer and use it in GitHub Desktop.
Save msafi/b1cb05bfab5b897c57e6 to your computer and use it in GitHub Desktop.
How to get your Google account/user ID

Go to this link https://plus.google.com/me. The me part of the URL will be replaced by your Google user ID (a.k.a Google account ID)

@lukaret
Copy link

lukaret commented Nov 14, 2023

Hello how verify my google with id?

@userbradley
Copy link

Greetings all. How do you obtain other resourceNames. In other words the people/{account_id} of other users other than me ?

If this ever gets figured out please let me know

@KylieKat17 from my understanding, and from what I have been able to do, you can only get users info if you know their numerical ID

If you know their account ID then you can follow this guide

@KylieKat17
Copy link

If you know their account ID

@userbradley See, I tried that with the accountID (which is the same as the google plus user ID), and it gives me an error. It might be my API key that's the issue, but that's a different problem entirely in that case

@userbradley
Copy link

If you know their account ID

@userbradley See, I tried that with the accountID (which is the same as the google plus user ID), and it gives me an error. It might be my API key that's the issue, but that's a different problem entirely in that case

I believe you can only get your self and those in the same directory as you (workspace) - gmail is a single directory where users can’t see each other, so that may be the issue you’re running in to

@AgustinBl
Copy link

AgustinBl commented Jun 3, 2025

Log in to your Google account if not already
Go to https://myaccount.google.com/data-and-privacy
Locate the button Maps Timeline in the History settings, right-click on it and copy its URL
That URL contains 'gid' parameter which is your Google ID.
Hope this helps the folks looking for their google user id in 2025.

https://stackoverflow.com/a/79368839/15016449

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment