i'm doing an application that collects updates from users and then sends these updates as their Yahoo! statuses.
the problem is the access token expires every 1 hour and whenever i try to run the code from the YOS java api that refreshes the access token, it always says "token_rejected"
so my question is:
is there a way to get a permanent access token for a certain user ? if there isn't a way, what am i doing wrong in the refresh procedure ? (code snippet is below, the only thing worth mentioning, is that the session handle isn't retrieved correctly for some reason so it is saved as a blank string)