Monday, November 08, 2010 at 12:01 AM.
system.verbs.apps.Flickr.authPage
<<Changes
<<11/13/07; 6:20:35 PM by DW
<<Add a delay before getting the token and try up to six times to get it.
<<11/12/07; 9:26:46 AM by DW
<<Factored out url-creating code.
<<6/10/07; 6:09:05 AM by DW
<<Created.
if dialog.confirm ("Open Flickr site to authenticate?") {
local (frob, i);
webbrowser.openurl (Flickr.authPageUrl (@frob));
for i = 1 to 6 {
clock.waitseconds (10);
try {
flickr.api.auth.getToken (frob);
break}}}
This listing is for code that runs in the OPML Editor environment. I created these listings because I wanted the search engines to index it, so that when I want to look up something in my codebase I don't have to use the much slower search functionality in my object database. Dave Winer.