One trick I have seen that is a bit nicer than polling is to pass a localhost
url as the OAuth callback, and then set up a listening socket at that URL, and
respond to any requests made to it by checking the status of the token.
It's not that much different really, but gives you a more responsive application
for users without hitting LP frequently.
Hi,
One trick I have seen that is a bit nicer than polling is to pass a localhost
url as the OAuth callback, and then set up a listening socket at that URL, and
respond to any requests made to it by checking the status of the token.
It's not that much different really, but gives you a more responsive application
for users without hitting LP frequently.
Thanks,
James