0

Yahoo Mail Application

Hi,
I am excited to use Yahoo Mail Service API. Can we set the token time period for the longer period. If yes can u please brief?.
We want to Integrate this API for our web application to make the users to get attracted with our site to get there mails from our webservice. Can we use this API is it legal and If yescan We have the sample guide lines for development. Please expedite my request.


Regards,
Raghu.S

by
10 Replies
  • Hi,

    Any one please reply for this query.

    Regards,
    Raghu.S


    QUOTE (raghu @ Aug 4 2010, 01:17 AM) <{POST_SNAPBACK}>
    Hi,
    I am excited to use Yahoo Mail Service API. Can we set the token time period for the longer period. If yes can u please brief?.
    We want to Integrate this API for our web application to make the users to get attracted with our site to get there mails from our webservice. Can we use this API is it legal and If yescan We have the sample guide lines for development. Please expedite my request.


    Regards,
    Raghu.S
    0
  • Hi,

    Can you explain what you mean by token time period? You can integrate these api's in to any webapp but to access end user data you need their authorization which is the purpose of using OAuth. From below post its not clear what you are trying to do. As far as usage of API's are concerned you can use it as per the developer terms and conditions mentioned here. Thanks.

    --R

    QUOTE (raghu @ Aug 4 2010, 01:17 AM) <{POST_SNAPBACK}>
    Hi,
    I am excited to use Yahoo Mail Service API. Can we set the token time period for the longer period. If yes can u please brief?.
    We want to Integrate this API for our web application to make the users to get attracted with our site to get there mails from our webservice. Can we use this API is it legal and If yescan We have the sample guide lines for development. Please expedite my request.


    Regards,
    Raghu.S
    0
  • Hi,

    Can you explain what you mean by token time period? You can integrate these api's in to any webapp but to access end user data you need their authorization which is the purpose of using OAuth. From below post its not clear what you are trying to do. As far as usage of API's are concerned you can use it as per the developer terms and conditions mentioned here. Thanks.

    --R


    QUOTE (raghu @ Aug 4 2010, 01:17 AM) <{POST_SNAPBACK}>
    Hi,
    I am excited to use Yahoo Mail Service API. Can we set the token time period for the longer period. If yes can u please brief?.
    We want to Integrate this API for our web application to make the users to get attracted with our site to get there mails from our webservice. Can we use this API is it legal and If yescan We have the sample guide lines for development. Please expedite my request.


    Regards,
    Raghu.S
    0
  • Hi,
    First of all I would like to thank for your reply. When we get OAuth generated token and that will be submited to yahoo where they provide us one more token for our requesting API. When ever we make an API call like listmessage, deletemessage etc.. this token is required. But some times the token will get expired while processing request after some period of time. Is it possible to Increase the time period of this token or is there any other method to get the new token dynamically.

    Secondly When the request of the API exceeds the call (your traffic counter) like Blocking My IP will be done from your end? because more number of users may request for there mail request from my webapplication. like read mail,delete, update etc...

    Third This API I am implementing it for my webapplication, which is of xyz.com and I want the users to get there mails on my webapplication like zimbra.com. Is it legal for me to use and i am not providing service for any third paty.

    If you need still any query please reply here or drop me a mail. I will be waiting for your reply. Thanks to yahoo developers and tech support :)raghu.s83@gmail.com
    0
  • Can any one reply for the above query please.
    0
  • Please find my response inline below.

    [quote name='Raghu S' date='Aug 12 2010, 03:07 AM' post='17900']
    Hi,
    First of all I would like to thank for your reply. When we get OAuth generated token and that will be submited to yahoo where they provide us one more token for our requesting API. When ever we make an API call like listmessage, deletemessage etc.. this token is required. But some times the token will get expired while processing request after some period of time. Is it possible to Increase the time period of this token or is there any other method to get the new token dynamically.

    -No its not possible to increase the time period as per standard policies. If the token gets expired then do a get_token to get a renewed token. Check the flow here.


    Secondly When the request of the API exceeds the call (your traffic counter) like Blocking My IP will be done from your end? because more number of users may request for there mail request from my webapplication. like read mail,delete, update etc...

    - If too many requests are generated then yes it will be blocked. If its a user generated request then the proximity of getting blocked is less as compared to machine generated request. If you get blocked then you need to re-query after sometime.

    Third This API I am implementing it for my webapplication, which is of xyz.com and I want the users to get there mails on my webapplication like zimbra.com. Is it legal for me to use and i am not providing service for any third paty.

    - I don't clearly understand why you mention about legality and I am also not clear on what you are developing. To access end-user's data those end-users have to authorize you/your app to do it and not Yahoo. We just provide the framework for that to happen. I had pointed you to the terms in my previous post based on which you can use these api's. Also when you say you are not providing service for any thrid party then who are your users?

    --R
    0
  • Hi Ram:

    >>> First of all I would like to thank for your reply. When we get OAuth generated token and that will be submited to yahoo where they provide us one more token for our requesting API. When ever we make an API call like listmessage, deletemessage etc.. this token is required. But some times the token will get expired while processing request after some period of time. Is it possible to Increase the time period of this token or is there any other method to get the new token dynamically.
    >>>>No its not possible to increase the time period as per standard policies. If the token gets expired then do a get_token to get a renewed token. Check the flow here.

    We tried the token renewal 1 hour after the expiration. However we are getting 401 Auth Error. If we are redoing entire Auth process we are getting new Auth token -
    We tried exact examples given as well, same issue renewing the token. \

    Can you please confirm that renewal token is working in the APIs.

    Saila
    0
  • Can anyone from Yahoo respond please !!
    0
  • Hi,

    I am moving this to OAuth forum for your question on token. I am not sure how are doing the renewal process and if all necessary headers are present.

    --R


    QUOTE (sailaja @ Sep 25 2010, 11:06 AM) <{POST_SNAPBACK}>
    Hi Ram:

    >>> First of all I would like to thank for your reply. When we get OAuth generated token and that will be submited to yahoo where they provide us one more token for our requesting API. When ever we make an API call like listmessage, deletemessage etc.. this token is required. But some times the token will get expired while processing request after some period of time. Is it possible to Increase the time period of this token or is there any other method to get the new token dynamically.
    >>>>No its not possible to increase the time period as per standard policies. If the token gets expired then do a get_token to get a renewed token. Check the flow here.

    We tried the token renewal 1 hour after the expiration. However we are getting 401 Auth Error. If we are redoing entire Auth process we are getting new Auth token -
    We tried exact examples given as well, same issue renewing the token. \

    Can you please confirm that renewal token is working in the APIs.

    Saila
    0
  • Hi Saila,

    The refresh_token should work. You need to call it before the access
    token is expired. Please make sure that your server's time is correct.

    If you still see this issue, can you please provide the detailed
    HTTP request and responses so we can check them from our end?

    Thanks,
    Yu Wang
    Yahoo! Membership Team
    0

Recent Posts

in OAuth General Discussion YDN SDKs