On 29.04.10 09:32, VU, Thi Thu Thuy wrote:
Thanks for your help.

I click on this link and it made me download a file which contains john.doe's 
profile.
How can I display this profile on my site with this link?
This file is a JSON file. You have to parse this json object.
From this file you get information that is interesting for you and you build the profile view based on parsed information. It is your responsibility to build the view. Shindig won't give you a ready-to-use view, only data.
Whenever I login or click on one person, this will give me a profile. So how 
can I do WITH SHINDIG?
Can u give me a detail progress pls?
Thank you.

-----Original Message-----
From: franck tankoua [mailto:[email protected]]
Sent: Mittwoch, 28. April 2010 14:32
To: [email protected]
Subject: Re: How to make request to shindig

Hi Vu,

Your shindig servlets are already setup to follow the opensocial rest url
pattern. The servlet handling those url is accessible at /social/rest/
you can tried to query this url from your browser to see what I am talking
about : 
http://localhost:8080/social/rest/people/john.doe<http://localhost:8080/>(
supposing that you are on localhost and port 8080 )
The above url is giving info about the user john.doe please take a look at :
http://shindig.apache.org/overview.html ( opensocial rest section )

hope it helps

On Wed, Apr 28, 2010 at 1:39 PM, VU, Thi Thu Thuy
<[email protected]>wrote:

Hi,

This rest url is generated automatically by shindig? Is that right?
So if it's right, which parameters I have to give shindig to generate it,
and can I give them?

Thanks a lot.

-----Original Message-----
From: franck tankoua [mailto:[email protected]]
Sent: mercredi 28 avril 2010 13:19
To: [email protected]
Subject: Re: How to make request to shindig

Hi,
I believe you can directly include the features js files in your html pages
and use them to make convenient call to your services. I have not tried
that
Yet but I will certainly work on something similar in a week or so.

You can allways use Ajax call directly to call your rest url ( e.g with
prototype you will do something like : new Ajax.Request("
/social/rest/appdata/{guid}/@friends/{appid}" ,.....)

It is unlikely that you need to use Ajaxcalls directly since we already
have
a nice osapi out there.
Let me know if this helps.


On Wed, Apr 28, 2010 at 11:26 AM, VU, Thi Thu Thuy
<[email protected]>wrote:

Hello,
I've learnt shindig for 2 months, but i don't understand much how I can
make the request from my own site to shindig to get DB. I want to use
Rest
API
For example, on my own site, I want to retrieve my friend's application.
So
which steps I have to follow to get his app?

Could you please list here all detail steps for this request?
I really need your help, cause I don't know how to do it, I'm blocked for
a
long time :(
Thank you very much.



--
Franck



Reply via email to