Appengine Channel No Messages Arrive
I am trying to get the channel api working. This is what I have so far: in the view: def channel_test(channel_token): tries = 1 logging.info('starting channel_test') fo
Solution 1:
You pass the client_id
to send_message
not the channel_token
. So your code should be:
channel.send_message('aosasdf123', message)
You place the channel_token client-side for opening the channel, and keep the client_id secret on the server-side for transmitting messages to that client via the channel.
Post a Comment for "Appengine Channel No Messages Arrive"