Legend

Forum

Unread topics or posts

Topic

Unread posts

Locked

Announcement

Forums > Developers

How To Token Cache?



AuthorMessage
v5point0

Posted: Jan 30, 2011
Score: 0



Hey guys, I am not a developer, just a meddling geek hoping to increase my productivity so please excuse me for my lack of knowledge.

My task is to use the GET queries from the browser address bar to add tasks. I was hoping to achieve something similar though not quite identical to quick adding events on Google Calendar from the Chrome address bar utilizing this:

http://www.google.com/calendar/event?ctext=+%s+&action=TEMPLATE&pprop=HowCreated%3AQUICKADD

I have had success creating tasks on Toodledo using:

http://api.toodledo.com/api.php?method=addTask;key=your key;
title=%s

but since tokens only last four 4 hours, my success is short lived.

So I would like to know, is it possible to cache a token via javascript or something so I can execute this task as a bookmark/bookmarklet?
Jake

Toodledo Admin
Posted: Jan 30, 2011
Score: 0



Sorry, it is not possible to keep a token for longer than 4 hours. The expire for security reasons. You will need to devise a way to generate new tokens every 4 hours.
v5point0

Posted: Jan 31, 2011
Score: 0



Thanks for the feedback, appreciate it.
You cannot reply yet


To participate in these forums, you must be signed in.



Toodledo Forums > Developers