1

How to get GUID for any Yahoo! mail user ID

This URL mentions as to how we can get the GUID of any valid Yahoo! user.
http://developer.yahoo.com/social/rest_api...d-resource.html

It involves a call to http://social.yahooapis.com/v1/me/guid through any browser. It says that we need to be logged in to some Yahoo! property in the same browser.
I have tried the same but it didn't work out. So if anyone has any idea as to how we could obtain the GUID please do reply..

by
3 Replies
  • YQL has a yid to guid conversion table that should work. You can see it in action if you go here: http://developer.yahoo.com/yql/console/?q=...D%27spullara%27. At the top is a section that says "REST Query"...all you need to do is make a GET request against that URL and you should see your result returned.

    - Jon

    QUOTE (rajis @ Apr 17 2009, 10:13 AM) <{POST_SNAPBACK}>
    This URL mentions as to how we can get the GUID of any valid Yahoo! user.
    http://developer.yahoo.com/social/rest_api...d-resource.html

    It involves a call to http://social.yahooapis.com/v1/me/guid through any browser. It says that we need to be logged in to some Yahoo! property in the same browser.
    I have tried the same but it didn't work out. So if anyone has any idea as to how we could obtain the GUID please do reply..
    1
  • QUOTE (Jon @ Apr 17 2009, 12:41 PM) <{POST_SNAPBACK}>
    YQL has a yid to guid conversion table that should work. You can see it in action if you go here: http://developer.yahoo.com/yql/console/?q=...D%27spullara%27. At the top is a section that says "REST Query"...all you need to do is make a GET request against that URL and you should see your result returned.

    - Jon


    Thanks a lot for replying ..

    Since now I have the GUID, do you have any idea as to how I could retrieve the information from say http://social.yahooapis.com/v1/user/{guid}...le/tinyusercard or any other such URL which is mentioned under the social directory section.
    1
  • QUOTE (rajis @ Apr 18 2009, 01:56 AM) <{POST_SNAPBACK}>
    Thanks a lot for replying ..

    Since now I have the GUID, do you have any idea as to how I could retrieve the information from say http://social.yahooapis.com/v1/user/{guid}...le/tinyusercard or any other such URL which is mentioned under the social directory section.


    I basically wanted to know whether :

    1. We can access any URL like "http://social.yahooapis.com/v1/user/{guid}/profile/tinyusercard" or any other such URL which is mentioned under the social directory section in our browser (when we are already signed in to Yahoo!)? (Currently it says "provide valid credentials")

    2. If yes then Is there a way to access the same through some desktop application. I have explored a bit on OAuth and Open but I am stuck with an error saying

    Fatal error: Call to a member function getSessionedUser() on a non-object in /var/www/html/yahoo/index.php on line 26
    this :
    PHP SDK
    sampleapp.php
    line 26
    $user = $session->getSessionedUser();

    These files comes with PHP SDK available on YDN and hosting it on my localhost.

    Please provide some help on this..
    0
  • Basically you'll want to use the PHP SDK for that information from a desktop application. The thing about this is, if you need to capture user data from a particular user, that user must have authorized your application to do so. They would go to your application, sign in through Yahoo! (this is a required authorization step at first), then they would have to grant your application permission to access their social data.

    Regarding the error:
    - have you authorized the application to access your social data?
    - Have you verified that your keys are correct?

    - Jon

    QUOTE (rajis @ Apr 18 2009, 05:33 AM) <{POST_SNAPBACK}>
    I basically wanted to know whether :

    1. We can access any URL like "http://social.yahooapis.com/v1/user/{guid}/profile/tinyusercard" or any other such URL which is mentioned under the social directory section in our browser (when we are already signed in to Yahoo!)? (Currently it says "provide valid credentials")

    2. If yes then Is there a way to access the same through some desktop application. I have explored a bit on OAuth and Open but I am stuck with an error saying

    Fatal error: Call to a member function getSessionedUser() on a non-object in /var/www/html/yahoo/index.php on line 26
    this :
    PHP SDK
    sampleapp.php
    line 26
    $user = $session->getSessionedUser();

    These files comes with PHP SDK available on YDN and hosting it on my localhost.

    Please provide some help on this..
    1
  • how to get yahoo user id using yahoo guid in android app ? when we tray to get all contacts of particular user

    1

Recent Posts

in Suggestions for YDN