0

Refresh Tokens

Hi
I am able to extract the contacts from YAHOO Address Book but the problem is that WSSID and Cookie are valid only for 1 hour.
Also the token is valid for 2 weeks.
I tried a lot but couldn't find the method to refresh these values or the token.
Kindly help
Thanks
Ankit

by
1 Reply
  • Hi Ankit,

    The token cannot be automatically refreshed, its only valid for 2 weeks. To get a new token, your application will need to repeat the entire BBAuth flow from the beginning to get the user to approve a new token.

    The Cookie and WSSID expire after an hour. As long as the token is still valid, you can always request a fresh Cookie/WSSID as described here:
    http://developer.yahoo.com/auth/authcalls.html#retrieving

    Hope that helps,
    Allen

    QUOTE (Ankit B @ Nov 17 2008, 02:42 AM) <{POST_SNAPBACK}>
    Hi
    I am able to extract the contacts from YAHOO Address Book but the problem is that WSSID and Cookie are valid only for 1 hour.
    Also the token is valid for 2 weeks.
    I tried a lot but couldn't find the method to refresh these values or the token.
    Kindly help
    Thanks
    Ankit
    0

Recent Posts

in Contacts