Awesome. It´s working now, I was using the domain when calling submit() instead of rpc server addresses.
Thanks! On Apr 18, 9:03 pm, "Carlos M." <[email protected]> wrote: > Hello! You can try adding this line immediately after setupOAuth. > > setAllowUnsignedRequests (true); > > Also I'm not sure if you have problems with RPC_URL, since you say > you're testing in the Sandbox ... Maybe your code can be as follows: > > setupOAuth (CONSUMER_KEY, CONSUMER_SECRET, SANDBOX_RPC_URL) > setAllowUnsignedRequests (true); > > Where SANDBOX_RPC_URL is: > > private static String SANDBOX_RPC_URL = "http:// > sandbox.gmodules.com/api/rpc" > > I hope it helps, Carlos. > > On 18 abr, 22:35, Lucelia Chipeaux <[email protected]> wrote: > > > > > > > Hi! I'm trying to use an active Robot at sandbox environment. > > I did the Authentication process > > athttp://wave.google.com/wave/robot/register. > > Every time that I do the authentication process my robot lost the > > capabilities such as onWaveletSelfAdded, > > onWaveletParticipantsChanged, ... > > Should I use another authentication process for sandbox? > > > Using the wave preview, my robot is working based on capabilities, but > > it is not working active. I insert the OAuth at constructor. > > public MainRobot() { > > this.setupOAuth(CONSUMER_KEY, CONSUMER_SECRET, > > "http://gmodules.com/ > > api/rpc"); > > } > > > When I try the robot.submit(wave,"googlewave.com"), I'm receiving > > "java.lang.IllegalStateException: Consumer key, consumer secret, and > > JSON-RPC server URL have to be set first, by calling > > AbstractRobot.setupOAuth(), before invoking AbstractRobot.submit()." > > > Is there any way to be sure that setupOAuth was did correctly? > > > Thanks, Lucélia. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Wave API" 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 > > athttp://groups.google.com/group/google-wave-api?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google Wave API" 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 > athttp://groups.google.com/group/google-wave-api?hl=en.- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Google Wave API" 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/google-wave-api?hl=en.
