well i have one more question , if they are moving the methods like makeRequest() from opensocial namespace to gadget them this will not be part of social app ?
On Feb 6, 10:48 am, "Arne Roomann-Kurrik" <[EMAIL PROTECTED]> wrote: > Yes, gadgets.io.makeRequest currently has an implementation bug that causes > it to return a 404. We're aware of the problem and are looking into getting > a fix into the sandbox soon. Sorry for any inconvenience! > > ~Arne > > On Feb 5, 2008 11:48 PM, dirtyBlueJeans <[EMAIL PROTECTED]> wrote: > > > > > Hi guys, > > > I've made appropriate changes to my app to move it to 0.7 (basically > > changed the opensocial.makeRequest calls). However, I keep getting a > > 404 for these calls - irrespective of whether I use GET or POST or > > whatever combinations of parameters. GETs used to work fine in 0.6 > > (using opensocial.makeRequest), but the same URLs don't work when I > > use gadgets.io.makeRequest. > > > I've tried clearing the cache, and am using bpc=1 in the URL I use to > > access the page. I have also removed and re-installed the application > > again, hoping it will make that bit of difference. > > > I've seen some other posts around here, which tells me that others are > > also facing this problem. Can someone please confirm if this is an > > known bug, and what alternatives do I have? Until this issue is > > resolved, we're completely hosed as our application just doesn't turn > > up any more. > > > Thanks, > > > Sumit. > > > On Feb 6, 12:11 pm, "RAJA SEKHAR" <[EMAIL PROTECTED]> wrote: > > > *Hai Arne * > > > ** > > > ** > > > *I am faicing the same problem here * > > > *it is throwing the 404 error after using that gadgets.io.makeRequest * > > > ** > > > *Please arne it is very urgent * > > > ** > > > *can u look on this * > > > ** > > > *Thank s* > > > *Raja* > > > ** > > > > On Feb 6, 2008 12:30 PM, :nikhil_gupte <[EMAIL PROTECTED]> wrote: > > > > > Arne, > > > > gadgets.io.makeRequest() gives 404 for GET requests. > > > > > On Feb 6, 4:42 am, "Arne Roomann-Kurrik (Google)" > > > > <[EMAIL PROTECTED]> wrote: > > > > > Hi Dustin, > > > > > > You're correct - the opensocial.makeRequest function is moving to > > > > > the gadgets.io namespace. Everyone should start using > > > > > gadgets.io.makeRequest as soon as possible (especially now that 0.7is > > > > > up on the Orkut sandbox). I actually haven't had time to play > > around > > > > > with the gadgets.io.makeRequest() function since the change, so > > please > > > > > let me know if you're still experiencing issues with it after the > > > > > push. > > > > > > Thanks, > > > > > ~Arne > > > > > > On Feb 2, 9:12 am, Dustin Jorge <[EMAIL PROTECTED]> wrote: > > > > > > > I believe gadgets.io is where the makeRequest function will live > > in > > > > 0.7, > > > > > > so I'm trying to avoid using opensocial.makeRequest any more. > > > > > > > I can only get post working with gadgets.io.makeRequest, and I > > haven't > > > > > > seen signing work without using opensocial.makeRequest. > > > > > > > Also, the returned object from the gadgets.io.makeRequest method > > > > doesn't > > > > > > contain nested objects after all. ( I was pushing out JSON from my > > > > server ) > > > > > > The returned object I'm getting contains a 'text' property > > containing > > > > > > the returned data. > > > > > > > I'll play with it a bit more today, but please post back if you > > come > > > > > > across a solid solution. I'll do the same. > > > > > > > -Dustin > > > > > > > [EMAIL PROTECTED] wrote: > > > > > > > Hi, > > > > > > > Have you get success in opensocial.makerequest also > > > > > > > like below- > > > > > > > opensocial.makeRequest('URL', > > > > > > > function (response) { > > > > > > > > }, > > > > > > > {'method' : 'POST', 'contentType' : 'html', 'postData' > > : > > > > > > > 'a=b&c=d' }) > > > > > > > > I am stucked here, can you help . I see in reponse from > > container > > > > > > > Orkut server --- no- post data.Also request is no authenticated. > > > > > > > is there any work around > > > > > > > > thanks in advance > > > > > > > > Hemant > > > > > > > > On Feb 2, 10:43 am, Dustin Jorge <[EMAIL PROTECTED]> wrote: > > > > > > > >> I've had success with this using 0.6 on Orkut: > > > > > > > >> var fetcher = { > > > > > > >> fetch:function(url, cb, err){ > > > > > > >> var _self = this; > > > > > > >> var params = { > > > > > 'authenticationType':'signed', > > > > > > >> 'methodType':'post', > > > > > > >> 'contentType':'html', > > > > > 'postData':'data1=value1&data2=value2' > > > > > > >> }; > > > > > > >> gadgets.io.makeRequest( url, > > function(dat){ > > > > > > >> _self.doCallback(dat,cb,err); }, params); > > > > > > >> } > > > > > > >> ,doCallback:function(dat,cb,err){ > > > > > > >> if(dat) cb(dat); > > > > > > >> else err(); > > > > > > >> } > > > > > > >> } > > > > > > > >> /* > > > > > > >> fetcher.fetch(url, callBackFunction, errorFunction); > > > > > > >> */ > > > > > > > >> alvin wrote: > > > > > > > >>> When I use {'methodType':'post'} I get this javascript error: > > > > > > > >>> postData only supported for POST methods > > > > > > >>>http://1.gmodules.com/46/o/opensocial-0.6.js > > > > > > >>> Line 127 > > > > > > > >>> It looks like "Method" is the correct name for that property > > but > > > > > > >>> "Post" is not supported... > > > > > > > >>> On Feb 2, 12:15 pm, Dustin Jorge <[EMAIL PROTECTED]> > > wrote: > > > > > > > >>>> Try using {'methodType':'post'} in lieu of > > {'method':'post'}... > > > > that > > > > > > >>>> should do it. > > > > > > > >>>> -Dustin / iWiddit.com > > > > > > > >>>> alvin wrote: > > > > > > > >>>>> I cannot seem to get makeRequest to use POST. > > > > > > > >>>>> This is the line of code: > > > > > > > >>>>> opensocial.makeRequest("http://mydomain.com/test/hello.php", > > > > > > >>>>> onServerResponse, {'method' : 'POST', 'contentType' : > > > > 'html', > > > > > > >>>>> 'postData' : 'a=123&b=456'} > > > > > > > >>>>> 1. On server side, $_POST is empty > > > > > > > >>>>> 2. $_SERVER['REQUEST_METHOD'] is GET > > > > > > > >>>>> What am I doing wrong? > > > > > > > >>>>> Thanks > > > > > > > >>>>> On Feb 2, 9:18 am, "[EMAIL PROTECTED]" < > > > > [EMAIL PROTECTED]> > > > > > > >>>>> wrote: > > > > > > > >>>>>> { 'postData' : 'A=value&B=value' } > > > > > > > >>>>>> -Dustin > > > > > > > >>>>>> On Feb 1, 2:03 am, "[EMAIL PROTECTED]" < > > [EMAIL PROTECTED] > > > > > > > >>>>>> wrote: > > > > > > > >>>>>>> I need help me on posting variables to a server side file > > > > using > > > > > > >>>>>>> makerequest().... > > > > > > > >>>>>>> Suppose I have 2 variables 'A' and 'B' to be posted > > > > > > >>>>>>> How do I pass these variable to the function below??? > > > > > > > >>>>>>> opensocial.makeRequest('URL', > > > > > > >>>>>>> function (response) { > > > > > > >>>>>>> alert(response); > > > > > > >>>>>>> }, > > > > > > >>>>>>> {'method' : 'POST', 'contentType' : 'html', > > > > 'postData' : > > > > > > >>>>>>> '?????' }) > > > > > > > >>>>>>> Regards, > > > > > > >>>>>>> Mkarand > > > > -- > > > RajaSekhar --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to opensocial-orkut@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---