API ProfileID redirect to GUID URL

Started by Private User on Thursday, October 25, 2012
Problem with this page?

Participants:

  • Private User
    Geni Pro
  • Geni member

Related Projects:

Showing all 5 posts
Private User
10/25/2012 at 8:40 PM

Mike Stangel, Brian G., Michelle Elena Kempner
Dev question....
Is there any url that I can form using the ProfileID that will redirect to the proper profile URL? Or is there an easy secret to covert the ProfileID number to the GUID? With the API rate limits, I rather not make an extra call to the profile API just to get the profile URL if I don't have to.

10/25/2012 at 8:47 PM

Hey there Jeff,

We have a concept of node ID's and profile ID's. We're slowly working away from the traditional profile ID that you see tacked to the end of the URL on your profile page.

For instance:

Brian G.

The 6000000015230962952 is my profile ID. You could replace the "Brian-G" in the above URL and you'll be redirected to the correct URL.

http://www.geni.com/people/<put anything here>/6000000015230962952

Furthermore, if you only know the node ID, you can get to the profile page like so:

geni.com/profile-34623734867

Where 34623734867 is my node ID.

Hope this is clear!
Brian

Private User
10/25/2012 at 8:55 PM

Perfect! Thanks Brian - I have the node ID from the API and the last url you provided is exactly what I needed. This works great: geni.com/profile-34623734867

Private User
10/25/2012 at 8:57 PM

Nice the project node id works as well. :)
www.geni.com/project-988

10/26/2012 at 8:21 AM

Glad to help :)

Showing all 5 posts

Create a free account or login to participate in this discussion