question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to get "account_id"

See original GitHub issue

Below is the code from People API https://developers.google.com/people/v1/read-people documentation:

PeopleResource.GetRequest peopleRequest =
    peopleService.People.Get("account_id");

What is the account_id here?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:6

github_iconTop GitHub Comments

1reaction
jskeetcommented, Jun 25, 2018

“If I want to get the details of particular person I need to get their account_id, looking for this id,”

It’s not clear what you’re asking, to be honest - but this isn’t likely to be the right place to ask, given the start of the November 17th comment:

This repo is for the .NET client libraries themselves; and unfortunately we don’t have a good understanding of most of the actual APIs.

We don’t know the details of the API you’re asking about, and you haven’t made it clear what you’re asking - we don’t know what you do know about the person you’re trying to look up.

Please see https://developers.google.com/people/support for support questions for the general API rather than the specific C# library implementation.

1reaction
chrisdunelmcommented, Nov 17, 2017

This repo is for the .NET client libraries themselves; and unfortunately we don’t have a good understanding of most of the actual APIs.

However, having said that… There’s a little more documentation here: https://developers.google.com/people/api/rest/v1/people/get The API explorer on that page let’s you experiment with the API which can be useful. So I tried:

  • Executing with resourceName set to people/me
  • This returned a resource with resourceName = people/1234567801234 (not actually this ID, but a numerical ID)
  • So I then executed with resourceName set to that same people/1234567801234.
  • This returned the same resource.

So it looks like account_id is a numeric ID for the user. I don’t know all the places where you get these IDs from, but results from calling people.connections.list definitely include them in resourceName fields.

Read more comments on GitHub >

github_iconTop Results From Across the Web

View AWS account identifiers
Find your AWS account ID. You can find the AWS account ID using either the AWS Management Console or the AWS Command Line...
Read more >
Your AWS account ID and its alias
View Your Account ID using the AWS CLI​​ Use the following command to view your user ID, account ID, and your user ARN:...
Read more >
Solved: how to find accountid
If you are using Cloud you can go to profile and click Manage account to get to your info. If you mean “user...
Read more >
Getting Account Id from Contact
I am trying to get from the contact being viewed the related accountID to then use to pull back all account events.
Read more >
Find my account ID - Google Surveys Help
Your account ID is the unique identifier for your Google Surveys account. To protect the security of your account and make it easier...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found