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