Hi Ram,

But for the restful api, as least when I am using it right now in my shindig build, I do not need to pass any tokens, and data can be returned. For example, when I put:

http://localhost:8012/social/rest/people/10050/@self

It returns the person with id 10050. How are tokens being passed to Shindig for restful apis?

 Thanks.
Sincerely,
Anthony

Ram Sharma wrote:
Hi Anthony,

When ever you make a call to Shindig you have to pass a Security token(or
OAuth token). That token contains the appId and may be the URL of the gadget
also. So, I think that way you can Identify which application/gadget is
making the request.

hope that helps.

Anybody feels I am wrong please correct me.




On Tue, Aug 26, 2008 at 6:13 AM, Anthony Lai <[EMAIL PROTECTED]>wrote:

Hi,

 I am currently implementing shindig, and we provide data differently to
different types of apps (trusted, untrusted), so trusted apps would get more
privacy data.  For the restful API, is there a way to figure out which app
is requesting the data?

 Thanks.
Sincerely,
Anthony





Reply via email to