Hello Community, I'm trying to implement the inline push funcitonality, separately seems to work, but data seems not to be received.
This is what I'm trying: I have the chat demo application correctly working, so my test idea is to implement an inline push with python. so I created this class simple script based on the one you have on the wiki: import urllib2 import json server = 'http://127.0.0.1:6969' cmd = [{'cmd': 'inlinepush', 'params': { 'password': 'testpasswd', 'raw': 'mailnotif', 'channel': 'testChannel', 'data': { 'content': 'Heyyyy', 'msg':'This is a test' } } }] url = server + "?" + urllib2.quote(json.dumps(cmd)) print url response = urllib2.urlopen(url) urllib2 fails getting the response, but if I go to the url in a browser tells me this: [{"time":"1311850060","raw":"pushed","data":{"value":"ok"}}] It appears it's working right? shouldn't I see the message on the chat? the channel is the same for both apps. Any suggestion? Thanks -- You received this message because you are subscribed to the Google Groups "APE Project" 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/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
