[OpenSocial] Re: URGENT : Problem with signed request
Hey thanx for replying .. Container is orkut .. Ya i have been through the "validating_signed_request" page ... I have also got " oauth consumer key" and "oauth consumer secret" .. !! I guess the problem is occuring bcoz of the xml-rpc message i am sending to the server ... !! can u chk the code given and temme what should i do to make it work ?? Thanx in advance !! On Wed, Feb 18, 2009 at 6:59 PM, Robson Dantas wrote: > Hi. > > What´s the container ? > > Have u followed the procedures to use Signed Request ? I mean, using the > keys, etc, etc, as described here > http://wiki.opensocial.org/index.php?title=Validating_Signed_Requests ? > > Cheers, > > --Robson > > > > 2009/2/18 rinku dongaria > > I dont understand why no one replys to the queries asked .. !! >> >> Please reply to the above problem soon ... !! >> >> the "rpctext" variable in the above mentioned prblm contains an xml-rpc >> message of form - >> >> >> >> brandhub.getbrands >> >> >> Apparel >> >> >> recent >> >> >> >> >> using POST_DATA i am sending this xml-rpc message to the server .. >> >> but when i include "SIGNED" parameter this above mentioned xml-rpc message >> do not reaches my server .. !!! >> >> Can anyone please tell me what's wrong with it ?? >> >> >> >> >> On Tue, Feb 17, 2009 at 5:41 PM, rinku dongaria > > wrote: >> >>> One more thing i found today which is associated with the above mentioned >>> problem .. >>> >>> The prblm comes because of the POST method .. For eg ., >>> >>> function makeRPCcall() >>> { >>> var params = {}; >>> >>> params[gadgets.io.RequestParameters.CONTENT_TYPE] = >>> gadgets.io.ContentType.TEXT; >>> params[gadgets.io.RequestParameters.METHOD] = gadgets.io.MethodType.POST; >>> params[gadgets.io.RequestParameters.POST_DATA] = rpctext; >>> gadgets.io.makeRequest(rpcserver, getresponse, params); >>> } >>> >>> >>> The above function POSTS an xml-rpc request to the server and gets the >>> output . >>> >>> This above code is working. >>> >>> But when i include the SIGNED option like this ., >>> >>> function makeRPCcall() >>> { >>> var params = {}; >>> >>> params[gadgets.io. RequestParameters.AUTHORIZATION] = >>> gadgets.io.AuthorizationType.SIGNED; >>> >>> params[gadgets.io.RequestParameters.CONTENT_TYPE] = >>> gadgets.io.ContentType.TEXT; >>> params[gadgets.io.RequestParameters.METHOD] = gadgets.io.MethodType.POST; >>> params[gadgets.io.RequestParameters.POST_DATA] = rpctext; >>> gadgets.io.makeRequest(rpcserver, getresponse, params); >>> } >>> >>> the xml-rpc request stops going to the server ... or more clearly i can >>> say, my call is not coming to my home server .. !! >>> >>> But when i changed the method type as "GET" in the signed request.. for >>> eg ., >>> >>> function makeRPCcall() >>> { >>> var params = {}; >>> >>> params[gadgets.io. RequestParameters.AUTHORIZATION] = >>> gadgets.io.AuthorizationType.SIGNED; >>> >>> params[gadgets.io. RequestParameters.CONTENT_TYPE] = >>> gadgets.io.ContentType.TEXT; >>> params[gadgets.io.RequestParameters.METHOD] = gadgets.io.MethodType.GET; >>> gadgets.io.makeRequest(rpcserver, getresponse, params); >>> } >>> >>> The call now reaches to my home server .. !! >>> >>> So can anyone please tell me whether SIGNED requests are supported for >>> POST method or not ?? >>> >>> Its really very urgent so plz reply as soon as possible .. !! >>> >>> Thanx !!! >>> >>> >>> On Mon, Feb 16, 2009 at 7:11 PM, rinku dongaria < >>> rinku.donga...@gmail.com> wrote: >>> Hello friends , Till now using the makeRequest() call , i was getting a response from my home server .. But today when i included a signed request in the parameter to makeRequest() call, like this .. params[gadgets.io.RequestParameters.AUTHORIZATION] = gadgets.io.AuthorizationType.SIGNED; my call stopped going to my home server ... !! I am using PHP Debug - Eclipse Platform to check whether the call is coming to the server or not . Before adding the signed request the call was coming to my home server .. but after adding the signed request the call is not reaching to my server .. !! Can anyone tell me how can i resolve this problem ?? and why after adding the signed request my call stopped going to the server ?? Please lemme know asap .. its urgent .. !! Thanx in advance .. !!! >>> >> >> >> > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "OpenSocial Application Development" group. To post to this group, send email to opensocial-api@googlegroups.com To unsubscribe from this group, send email to opensocial-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~--~~~~--~~--~--~---
[OpenSocial] Re: URGENT : Problem with signed request
Hi. What´s the container ? Have u followed the procedures to use Signed Request ? I mean, using the keys, etc, etc, as described here http://wiki.opensocial.org/index.php?title=Validating_Signed_Requests ? Cheers, --Robson 2009/2/18 rinku dongaria > I dont understand why no one replys to the queries asked .. !! > > Please reply to the above problem soon ... !! > > the "rpctext" variable in the above mentioned prblm contains an xml-rpc > message of form - > > > > brandhub.getbrands > > > Apparel > > > recent > > > > > using POST_DATA i am sending this xml-rpc message to the server .. > > but when i include "SIGNED" parameter this above mentioned xml-rpc message > do not reaches my server .. !!! > > Can anyone please tell me what's wrong with it ?? > > > > > On Tue, Feb 17, 2009 at 5:41 PM, rinku dongaria > wrote: > >> One more thing i found today which is associated with the above mentioned >> problem .. >> >> The prblm comes because of the POST method .. For eg ., >> >> function makeRPCcall() >> { >> var params = {}; >> >> params[gadgets.io.RequestParameters.CONTENT_TYPE] = >> gadgets.io.ContentType.TEXT; >> params[gadgets.io.RequestParameters.METHOD] = gadgets.io.MethodType.POST; >> params[gadgets.io.RequestParameters.POST_DATA] = rpctext; >> gadgets.io.makeRequest(rpcserver, getresponse, params); >> } >> >> >> The above function POSTS an xml-rpc request to the server and gets the >> output . >> >> This above code is working. >> >> But when i include the SIGNED option like this ., >> >> function makeRPCcall() >> { >> var params = {}; >> >> params[gadgets.io. RequestParameters.AUTHORIZATION] = >> gadgets.io.AuthorizationType.SIGNED; >> >> params[gadgets.io.RequestParameters.CONTENT_TYPE] = >> gadgets.io.ContentType.TEXT; >> params[gadgets.io.RequestParameters.METHOD] = gadgets.io.MethodType.POST; >> params[gadgets.io.RequestParameters.POST_DATA] = rpctext; >> gadgets.io.makeRequest(rpcserver, getresponse, params); >> } >> >> the xml-rpc request stops going to the server ... or more clearly i can >> say, my call is not coming to my home server .. !! >> >> But when i changed the method type as "GET" in the signed request.. for >> eg ., >> >> function makeRPCcall() >> { >> var params = {}; >> >> params[gadgets.io. RequestParameters.AUTHORIZATION] = >> gadgets.io.AuthorizationType.SIGNED; >> >> params[gadgets.io. RequestParameters.CONTENT_TYPE] = >> gadgets.io.ContentType.TEXT; >> params[gadgets.io.RequestParameters.METHOD] = gadgets.io.MethodType.GET; >> gadgets.io.makeRequest(rpcserver, getresponse, params); >> } >> >> The call now reaches to my home server .. !! >> >> So can anyone please tell me whether SIGNED requests are supported for >> POST method or not ?? >> >> Its really very urgent so plz reply as soon as possible .. !! >> >> Thanx !!! >> >> >> On Mon, Feb 16, 2009 at 7:11 PM, rinku dongaria > > wrote: >> >>> Hello friends , >>> >>> Till now using the makeRequest() call , i was getting a response from my >>> home server .. >>> >>> But today when i included a signed request in the parameter to >>> makeRequest() call, like this .. >>> >>> params[gadgets.io.RequestParameters.AUTHORIZATION] = >>> gadgets.io.AuthorizationType.SIGNED; >>> >>> >>> >>> >>> my call stopped going to my home server ... !! >>> >>> >>> I am using PHP Debug - Eclipse Platform to check whether the call is >>> coming to the server or not . >>> >>> Before adding the signed request the call was coming to my home server .. >>> but after adding the signed request the call is not reaching to my server .. >>> !! >>> >>> Can anyone tell me how can i resolve this problem ?? and why after adding >>> the signed request my call stopped going to the server ?? >>> >>> Please lemme know asap .. its urgent .. !! >>> >>> Thanx in advance .. !!! >>> >>> >>> >>> >>> >>> >> > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "OpenSocial Application Development" group. To post to this group, send email to opensocial-api@googlegroups.com To unsubscribe from this group, send email to opensocial-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~--~~~~--~~--~--~---
[OpenSocial] Re: URGENT : Problem with signed request
I dont understand why no one replys to the queries asked .. !! Please reply to the above problem soon ... !! the "rpctext" variable in the above mentioned prblm contains an xml-rpc message of form - brandhub.getbrands Apparel recent using POST_DATA i am sending this xml-rpc message to the server .. but when i include "SIGNED" parameter this above mentioned xml-rpc message do not reaches my server .. !!! Can anyone please tell me what's wrong with it ?? On Tue, Feb 17, 2009 at 5:41 PM, rinku dongaria wrote: > One more thing i found today which is associated with the above mentioned > problem .. > > The prblm comes because of the POST method .. For eg ., > > function makeRPCcall() > { > var params = {}; > > params[gadgets.io.RequestParameters.CONTENT_TYPE] = > gadgets.io.ContentType.TEXT; > params[gadgets.io.RequestParameters.METHOD] = gadgets.io.MethodType.POST; > params[gadgets.io.RequestParameters.POST_DATA] = rpctext; > gadgets.io.makeRequest(rpcserver, getresponse, params); > } > > > The above function POSTS an xml-rpc request to the server and gets the > output . > > This above code is working. > > But when i include the SIGNED option like this ., > > function makeRPCcall() > { > var params = {}; > > params[gadgets.io. RequestParameters.AUTHORIZATION] = > gadgets.io.AuthorizationType.SIGNED; > > params[gadgets.io.RequestParameters.CONTENT_TYPE] = > gadgets.io.ContentType.TEXT; > params[gadgets.io.RequestParameters.METHOD] = gadgets.io.MethodType.POST; > params[gadgets.io.RequestParameters.POST_DATA] = rpctext; > gadgets.io.makeRequest(rpcserver, getresponse, params); > } > > the xml-rpc request stops going to the server ... or more clearly i can > say, my call is not coming to my home server .. !! > > But when i changed the method type as "GET" in the signed request.. for eg > ., > > function makeRPCcall() > { > var params = {}; > > params[gadgets.io. RequestParameters.AUTHORIZATION] = > gadgets.io.AuthorizationType.SIGNED; > > params[gadgets.io. RequestParameters.CONTENT_TYPE] = > gadgets.io.ContentType.TEXT; > params[gadgets.io.RequestParameters.METHOD] = gadgets.io.MethodType.GET; > gadgets.io.makeRequest(rpcserver, getresponse, params); > } > > The call now reaches to my home server .. !! > > So can anyone please tell me whether SIGNED requests are supported for POST > method or not ?? > > Its really very urgent so plz reply as soon as possible .. !! > > Thanx !!! > > > On Mon, Feb 16, 2009 at 7:11 PM, rinku dongaria > wrote: > >> Hello friends , >> >> Till now using the makeRequest() call , i was getting a response from my >> home server .. >> >> But today when i included a signed request in the parameter to >> makeRequest() call, like this .. >> >> params[gadgets.io.RequestParameters.AUTHORIZATION] = >> gadgets.io.AuthorizationType.SIGNED; >> >> >> >> my call stopped going to my home server ... !! >> >> >> I am using PHP Debug - Eclipse Platform to check whether the call is >> coming to the server or not . >> >> Before adding the signed request the call was coming to my home server .. >> but after adding the signed request the call is not reaching to my server .. >> !! >> >> Can anyone tell me how can i resolve this problem ?? and why after adding >> the signed request my call stopped going to the server ?? >> >> Please lemme know asap .. its urgent .. !! >> >> Thanx in advance .. !!! >> >> >> >> >> >> > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "OpenSocial Application Development" group. To post to this group, send email to opensocial-api@googlegroups.com To unsubscribe from this group, send email to opensocial-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~--~~~~--~~--~--~---
[OpenSocial] Re: URGENT : Problem with signed request
One more thing i found today which is associated with the above mentioned problem .. The prblm comes because of the POST method .. For eg ., function makeRPCcall() { var params = {}; params[gadgets.io.RequestParameters.CONTENT_TYPE] = gadgets.io.ContentType.TEXT; params[gadgets.io.RequestParameters.METHOD] = gadgets.io.MethodType.POST; params[gadgets.io.RequestParameters.POST_DATA] = rpctext; gadgets.io.makeRequest(rpcserver, getresponse, params); } The above function POSTS an xml-rpc request to the server and gets the output . This above code is working. But when i include the SIGNED option like this ., function makeRPCcall() { var params = {}; params[gadgets.io. RequestParameters.AUTHORIZATION] = gadgets.io.AuthorizationType.SIGNED; params[gadgets.io.RequestParameters.CONTENT_TYPE] = gadgets.io.ContentType.TEXT; params[gadgets.io.RequestParameters.METHOD] = gadgets.io.MethodType.POST; params[gadgets.io.RequestParameters.POST_DATA] = rpctext; gadgets.io.makeRequest(rpcserver, getresponse, params); } the xml-rpc request stops going to the server ... or more clearly i can say, my call is not coming to my home server .. !! But when i changed the method type as "GET" in the signed request.. for eg ., function makeRPCcall() { var params = {}; params[gadgets.io. RequestParameters.AUTHORIZATION] = gadgets.io.AuthorizationType.SIGNED; params[gadgets.io. RequestParameters.CONTENT_TYPE] = gadgets.io.ContentType.TEXT; params[gadgets.io.RequestParameters.METHOD] = gadgets.io.MethodType.GET; gadgets.io.makeRequest(rpcserver, getresponse, params); } The call now reaches to my home server .. !! So can anyone please tell me whether SIGNED requests are supported for POST method or not ?? Its really very urgent so plz reply as soon as possible .. !! Thanx !!! On Mon, Feb 16, 2009 at 7:11 PM, rinku dongaria wrote: > Hello friends , > > Till now using the makeRequest() call , i was getting a response from my > home server .. > > But today when i included a signed request in the parameter to > makeRequest() call, like this .. > > params[gadgets.io.RequestParameters.AUTHORIZATION] = > gadgets.io.AuthorizationType.SIGNED; > > > my call stopped going to my home server ... !! > > > I am using PHP Debug - Eclipse Platform to check whether the call is coming > to the server or not . > > Before adding the signed request the call was coming to my home server .. > but after adding the signed request the call is not reaching to my server .. > !! > > Can anyone tell me how can i resolve this problem ?? and why after adding > the signed request my call stopped going to the server ?? > > Please lemme know asap .. its urgent .. !! > > Thanx in advance .. !!! > > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "OpenSocial Application Development" group. To post to this group, send email to opensocial-api@googlegroups.com To unsubscribe from this group, send email to opensocial-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/opensocial-api?hl=en -~--~~~~--~~--~--~---