Currently this doesnt quite work yet because we haven't implemented the right search to return messages from/to a certain user. Are you making a chat client that would use history like this? If so I will push up the priority of implementing this.
- Brian
On Mon, May 11, 2009 at 1:37 AM, Calvin <wmbdmw@gmail.com> wrote:
Great stuff!One thing I have noticed is that even though it is a private message, others can see it once they reload their browser. Does it suppose to work like this?Calvin
On Mon, May 11, 2009 at 5:57 PM, Brian Moschel <brian.moschel@gmail.com> wrote:Hey Calvin,As for direct messages, the following works:https://jabbify.com/message_push?message=PM&action=create&type=message&to=<A valid User.from>&key=<api key>&name=testI tested this by opening the same page with the Jabbify chat client in two browsers. Only one browser displays the message, as you'd expect.Let me know if you can't get this to work. Looking into arbitrary data in one second.On Sat, May 9, 2009 at 12:29 PM, Brian Moschel <brian.moschel@gmail.com> wrote:Ok. I will try it today in a little while and get back to you.- BrianOn Sat, May 9, 2009 at 11:37 AM, Calvin <wmbdmw@gmail.com> wrote:
Sorry but I can't get it to workhttps://jabbify.com/message_push?key=<API_KEY> &type=message&action=direct&message=PM&to=<Recipient's Jabbify.from>Also, I wasn't able to broadcast arbitrary data as wellhttps://jabbify.com/message_push?key=<API_KEY> &type=message&action=create&message=PM&hello=worldOn Sun, May 10, 2009 at 3:10 AM, Calvin <wmbdmw@gmail.com> wrote:Just to make sure I can get the recipient's call_id by `CurrentUser.from` right?--On Sun, May 10, 2009 at 2:38 AM, Brian Moschel <brian.moschel@gmail.com> wrote:
Yes you can do this, but the "to" attribute has to be the person's call_id (their "from" attribute) not their username. Give that a try.You should be able to send arbitrary data through REST.
- BrianOn Sat, May 9, 2009 at 9:13 AM, Calvin <wmbdmw@gmail.com> wrote:
Hi,
I was looking at https://jabbify.com/demos/api.html #7. Send direct
message and I came up this question: can I send a direct message to a
user from server side?
So I tried:
https://jabbify.com/message_push?key=<API
KEY>&name=Neo&type=message&action=direct&message=sweet&to=<Username>
It returned
Sent to <Domain>
but it didn't come up on the client side as well as in moderate panel.
Any chance I can do this?
Also, will I be able to send arbitrary data thru the REST?
Thanks in advance,
Calvin
/Da Capo/
--
/Da Capo/
--
/Da Capo/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Jabbify" group.
To post to this group, send email to jabbify@googlegroups.com
To unsubscribe from this group, send email to jabbify+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jabbify?hl=en
-~----------~----~----~----~------~----~------~--~---