yep ... a valid gadget token :)
if you have 'allow plain text tokens' set to true in your config, you
can add a token like?
http://example.org/foo?bar=1&st=jane.doe:jane.doe:appid:cont:url:0
jane.doe & john.doe work as users if your using the sample container
xml, otherwise replace those with proper user id's.
-- Chris
On Jul 16, 2008, at 1:36 PM, Erel Segal wrote:
OK, after some debugging I found out that the POST request causes
the server
to throw an INVALID_GADGET_TOKEN exception. What should I do? Is there
anything I should add to the URL to make it run?
2008/7/15, Erel Segal <[EMAIL PROTECTED]>:
I try to run the sample gadgets in javascript/samplecontainer/
examples,
e.g.
http://localhost/shindig/php/gadgets/ifr?url=http://localhost/shindig/php/gadgets/files/samplecontainer/examples/SocialHelloWorld.xml&nocache=1&container=container07
(shindig/php/ is my web_prefix, and container07 is a configuration
file
where I changed all the paths to match this setting.
I get the following Javascript error:
data.get("viewer") has no properties
render(Object responseItems_=Object globalError_=true)ifr (line 312)
sendResponse(Object responses=false error=badRequest)ifr (line 151)
processNonProxiedResponse("/shindig/php/social/data", function(),
ObjectCONTENT_TYPE=
JSON METHOD=POST AUTHORIZATION=SIGNED, XMLHttpRequest)ifr (line 84)
makeClosure()ifr (line 23)
var viewer = data.get('viewer').getData();
I get the same error on all three gadgets in that folder.
Can you please tell me what I am doing wrong?