Hey Andy,

Could you please stop hijacking threads to ask your questions? It tends to confuse things a bit when such off-topic replies are given.

The best place to ask shindig related questions is the shindig-dev@incubator.apache.org list, see http://incubator.apache.org/shindig/#tab-support for details on how to sign up & post there.

Thanks in advance :)

        -- Chris

On Aug 17, 2008, at 4:22 PM, Andy(AnandKSharma) wrote:


Hi to All
i checked out latest Shindig code of Revision no : 686151
I have created my own PHP shindig Basic{People,Activities,Data}.php
and few gadgets like "helloworld.xml" , "GeoLocation.xml"  are working
absoultely fine,
THX to Chris who help me out so that shindig PHP is working fine.
But whenever i am running any gadget which is using
Basic{people,activities,data}.php , it has some probs.
suppose whenever i am running ListFriends.xml file in Shindig PHP ,
its giving response in firebug as :
1.
POST
http://localhost/shindig/php/social/rest/jsonBatch?st=6%3A6%3A6396%3Ashindig%3Ahttp%253A%2F%2Flocalhost%2FGOSDemoAppPHP%2Fgadgets%2FListFriends.xml%3A0
(1062ms)


POST:

{"viewer":{"url":"/people/@viewer/@self?
fields=id,name,thumbnailUrl&startIndex=0&count=20&orderBy=topFriends

&filterBy=all&networkDistance=","method":"GET"},"viewerFriends":
{"url":"/people/@viewer/@friends?fields

= id ,name ,thumbnailUrl &startIndex =0&count=20&orderBy=topFriends&filterBy=all&networkDistance=","method"

:"GET"}}


RESPONSE:

{"responses":{"viewer":{"response":{"6":{"aboutMe":"Its all abt the
fact :-)","dateOfBirth":"1985-11-22"

,"id":"6","name":
{"unstructured ":"ak47"},"isOwner":false,"isViewer":false}}},"viewerFriends":
{"response"

:{"1":{"aboutMe":"\tWhen I am working on a problem I never think about
beauty. I only think about how

to solve the problem. But when I have finished, if the solution is
not beautiful, I know it is wrong

.\r\n","dateOfBirth":"1991-01-01","id":"1","name":
{"unstructured":"Venkata Suresh"},"isOwner":false,"isViewer"

:false},"2":{"aboutMe":"\tI am a man of fixed and unbending
principles, the first of which is to be flexible

at all times.","dateOfBirth":"1992-02-01","id":"2","name":
{"unstructured":"Ganesh Kumar"},"isOwner"

:false,"isViewer":false},"3":{"aboutMe":"\tI always try to believe the
best of everybody -- it saves

so much trouble.\r\n","dateOfBirth":"1993-03-01","id":"3","name":
{"unstructured":"Ashok kumar"},"isOwner"

:false,"isViewer":false},"4":
{"aboutMe":"Kool!!!","dateOfBirth":"1985-01-01","id":"4","name":
{"unstructured"

:"Sanjeev Srinidhi"},"isOwner":false,"isViewer":false},"5":
{"aboutMe":"nagraju mast maja maadi !!!!!

!!!!","dateOfBirth":"1985-12-11","id":"5","name":
{"unstructured":"nagraju"},"isOwner":false,"isViewer"

:false},"7":{"aboutMe":"Devil also scare to enter in my
domain","dateOfBirth":"1985-11-22","id":"7","name"

:
{"unstructured ":"machi"},"isOwner":false,"isViewer":false}}}},"error":false}



As far i know that i am getting right response but i cannot able to
see these response as my result of gadget(ListFriends.xml) output.

i think according to my own BasicPeople.php , i have to change any
other files.

if is it so then please let me own the way .

may be i going in wrong way .


Cheers

Anand
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "OpenSocial and Gadgets Specification Discussion" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-and-gadgets-spec?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to