Skip to main content
5 of 6
edited tags
Kevin Montrose
  • 18.7k
  • 6
  • 35
  • 62

How do you get the association_id from the CC data dump?

I am working with StackExchange /users/ data and trying to get a user's "united" profile, to see what sites they're active in other than the queried site. As an example: http://stackexchange.com/users/7dee0fe4-9eac-40f4-8521-89ce6916bd66?tab=accounts shows all the active sites for Jeremy Banks. Each user has an "ID" number that is specific to that site, and the same User ID on a different site corresponds to a different user. How do I get that unique user hash (association_id, here, "7dee0fe4-9eac-40f4-8521-89ce6916bd66") from the user data?

I see the users/{id}/associated method, for API use. It requires the "association_id," which doesn't always appear in the list of values returned by /users/{ids} and is not in the users.xml file in the data dump. Where do I find it, or how do I make it?

Thanks!

WBT
  • 131
  • 1
  • 1
  • 5