xmpp

XMPP library for facebook chat [closed]

孤街醉人 提交于 2019-12-18 01:31:11
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . So facebook is opening its chat servers to us... great. I am new to XMPP, so what would be the best JS library to connect to their servers? I googled for a tutorial article, but found nothing. Can someone direct me to one? 回答1: As Joschi pointed out strophe is a very good javascript library. But you need a BOSH

how to do voice/video chat in android using smack api's [closed]

旧街凉风 提交于 2019-12-18 01:17:12
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . We are already using jabber smack api for chating in our application. now we are planing to upgrade my app by adding voice/video chat. I think its possible by using the jingle jabber smack but i am not getting any api's or sample code in jave for jingle. can any one please help me

How to receive Incoming XMPP Messages using Smack?

怎甘沉沦 提交于 2019-12-17 23:23:43
问题 I read some examples and tested them but all of them need to start a chat with someone first to receive Incoming Messages... I want to retrieve this Incoming Messages without need to talk first to the jid anyone can give an example ? 回答1: You need to register a ChatListener to be notified of new chats, then you can add a message listener to them like normal: connection.getChatManager().addChatListener(new ChatManagerListenerImpl()); .... private class ChatManagerListenerImpl implements

Build a chat application in ios using XMPP [closed]

[亡魂溺海] 提交于 2019-12-17 23:17:55
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . I am trying to build a chat application in ios. I came across XMPP for ios. I am bit confused on how to move forward. Here are my doubts: Do I need to create an XMPP server to implement this application? Or are there any existing servers/services which can be used for the same

Create ejabberd user from PHP

本小妞迷上赌 提交于 2019-12-17 22:44:36
问题 I need to create an ejabberd user from a PHP script. I also need to be able to add the new user to a predefined shared roster. Should I just call ejabberdctl using exec() or is there a better way? 回答1: ejabberdctl is by far the easiest in this specific case. The other options are: Implement a full client XMPP in PHP (!) Implement a module in Erlang that proxies the requests: the PHP<-->Erlang communication would need to be through a socket and lots of marshaling would be involved (!) 回答2:

Accepting chatroom invitation

南楼画角 提交于 2019-12-17 22:37:22
问题 I'm able to create a MUC using XMPPFramework and send user invitation requests to join that room by using the code below. // Creating AppDelegate *dele =(AppDelegate *) [[UIApplication sharedApplication]delegate]; xmppRoom = [[XMPPRoom alloc] initWithRoomStorage:dele jid:[XMPPJID jidWithString:self.roomName] dispatchQueue:dispatch_get_main_queue()]; [xmppRoom addDelegate:dele delegateQueue:dispatch_get_main_queue()]; [xmppRoom activate:dele.xmppStream]; [xmppRoom joinRoomUsingNickname:self

How to list only online users on facebook with xmpp framework

只愿长相守 提交于 2019-12-17 22:13:07
问题 I have integrated xmpp in my app and able to list all the users in a table view, but I only want to display the online users and then want to implement the feature to send and recieve messages to my online friends... Please suggest me some helpful code... Here is my code, executed after facebook login. - (void)fbDidLogin { NSLog(@"logged in....................."); [appDelegate.facebook requestWithGraphPath:@"me" andDelegate:self]; DDLogVerbose(@"%s accessToken: %@ expirationDate: %@",__PRETTY

Smack API - Read Chat History from Openfire Server

只愿长相守 提交于 2019-12-17 18:33:48
问题 How can I fetch chat log or chat history from Openfire server using Smack library into an Android application? 回答1: As far as I know, there is no storing of chat history in Openfire. You can only get offline messages sent by user (when they connect next time for example), but if you want to store the messages you can implement it yourself directly on the XMPP server (personally I did it using mongodb - it works great!). But then, maybe I missed something in Openfire... 回答2: Openfire server

Using XMPP for push user notifications on Android - any way to target these so they don't go to Google Talk etc

故事扮演 提交于 2019-12-17 18:22:12
问题 I want to use XMPP to push data to my client which would translate to a notification for the user, and plan on using their google-id for login to my application. The way I understand XMPP is that its a simple message that goes directly to the adress, but I want the client to get it as instructions and turn it into gamestate information. It would be very frustrating for a user to get a bunch of command tuples or hex garbage in their google chat! Am I misunderstanding the way this all works?

Good tutorials on XMPP? [closed]

女生的网名这么多〃 提交于 2019-12-17 15:04:59
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I've been looking at some open-source XMPP servers, and am familiar with the official page http://xmpp.org/. But thus far I've not found anything in between " The Extensible Messaging and Presence Protocol (XMPP) is an open technology for real-time communication " and a list of XEP specifications. For instance