Hi bvelasquez,
In your first message you said you weren't getting any response at all - but
now you seem to be implying that it's only the unknown_command method that
isn't working - which is the case? Can you show us your code and your App
ID, please?

-Nick Johnson

On Fri, Sep 4, 2009 at 2:52 PM, bvelasquez <[email protected]> wrote:

>
>
> Yup. Did that.  Followed every step which are few. The bot does not
> respond with the default message for unknown commands when I used the
> xmpp command handler.
>
> On Sep 4, 6:40 am, Jérémy Selier <[email protected]> wrote:
> > Hello,
> >
> > Did you add inbound_services in your app.yaml to activate the XMPP
> > service in order to receive messages ?
> > See:
> http://code.google.com/intl/fr-FR/appengine/docs/python/xmpp/overview...
> >
> > --
> > Jeremy
> >
> > On Sep 4, 7:21 am, bvelasquez <[email protected]> wrote:
> >
> >
> >
> > > Hello,
> >
> > > I gave the XMPP API a try and it does not work for me.  The bot is
> > > active and in my IM contact list.  I created the post handler
> > > following the API instruction:
> >
> > > class XmppHandler(webapp.RequestHandler):
> > >         def post(self):
> > >                 logging.info("XMPP Received.")
> > >                 message = xmpp.Message(self.request.POST)
> > >                 if message.body[0:5].lower() == 'hello':
> > >                         message.reply("Greetings!")
> > >                 else:
> > >                         message.reply("I have no idea.")
> >
> > >         def get(self):
> > >                 self.response.out.write("Hello")
> >
> > > I even added a "get" method to make sure the handler is setup
> > > properly.  The GET is handled ok and returns Hello in the browser.
> >
> > > I get no log message from the "logging.info()" call I make.  No errors
> > > in the log also.
> >
> > > Anyone try this yet or have success?
> >
> > > Barry
> >
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to