test-auth.lzx
<canvas title="test-auth.lzx">
<include href="../classes/dataman.lzx"/>
<simplelayout axis="y" spacing="10"/>
<button onclick="gDataMan.doAuth()">authorize</button>
<button onclick="gDataMan.doToken()">renew token (after authorizing)</button>
<edittext name="idtext">153387</edittext>
<edittext name="tagtext">lzpixtest4</edittext>
<button>tag it
<handler name="onclick">
var argobj = [
{argname:"method",
argvalue:"flickr.photos.addTags"},
{argname:"photo_id",
argvalue: idtext.text},
{argname:"tags",
argvalue: tagtext.text}
];
gDataMan.doAuthFlickrRequest(canvas.infods, argobj);
</handler>
</button>
<text datapath="infods:/rsp/@stat">
</text>
</canvas>
Cross References
Includes
Named Instances