I was trying to create an XMPP and a Jabber chat-program.
I was unable to set chat state to 'Invisible'.
I would love to hear from users experience if this is possible and how they do that.
I don't mind to use any .NET assembly for it.
XEP-0126 specifies the best practices for implementing invisibility of presence.
Related
We have a OTT application which deliver message to users over XMPP protocol. we using eJabberd to deliver messages. also we have group chats that user can use them with maximum of 200 users.
Now we want to build channels. some think like Telegram channels.
it seems similar application like Viber and Telegram using different infrastructure for channels.
Now the question is what is the best infrastructure for channels (server side and client side)?
where is our start point?
There is many approach you can use to build such system. A tool like ejabberd has been designed to build that type of system. It is scalable and fully extensible through a built in API. This would be a good bet as many OTT services are already built on top of ejabberd.
I am implementing back-end of a mobile app by Laravel.
current requirement is implementing a stateless solution for authenticating users through restful API.
after that I should find a way to allow users to register and login with their Google and Facebook accounts.
I want to find a stable solution that fit with both of these problem if it is possible.
I know these library exists for laravel but I want an experienced advice to choose best of them:
adamwathan/eloquent-oauth (it seems it is the best fit for my requirements but it is not stable yet)
artdarek/oauth-4-laravel
jenssegers/laravel-oauth
kalley/laravel-oauth-client
Lusitanian/PHPoAuthLib
dschniepp/Laravel-OAuth2-Server
Use oAuth2. There's a few decent packages out there. IMO this is your best bet: https://github.com/lucadegasperi/oauth2-server-laravel
This package fits with the requirements:
https://github.com/tappleby/laravel-auth-token
I am implementing facebook chat client using DART. As far as i figured out, i need to use XMPP protocol.
Is there a XMPP api for dart?
If yes, can you lead me to source?
If no, is there any good (for a complete stranger to protocol) source, so that i can implement one.
I don't know of anything in Dart, especially since it's such a new language, but there's a list of libraries on the XMPP page. Perhaps you can find one that you like?
This question points out some good libraries in Javascript: XMPP library for facebook chat
For protocol specifications, see here. Even if you find a good library to convert, you'll probably want to take a look at the specification anyway to really understand how it works.
Looking for ideas on how to implement a kiosk style/full screen client that will display messages sent to it, in realtime or push based. Basically, think a 911 dispatch center call board. I was thinking a xmpp bot to display, and making a simple xmpp client that can only send messages to the bot.
This is for a very small emergency disaster agencies war room, and only needs to be able to display simple messages entered in from one of the computers in the building. Is XMPP a good solution for this?
An IM protocol like XMPP is an acceptable solution for this.
XMPP seems to fit the bill, it is mature and has many clients that support it so it would not be necessary to write a client, just set up a regular IM client to send to the "buddy" that is the big board.
Are you looking at the problem backwards? Describe what you want to do a little more THEN seek advice on protocols. It smells like you might be designing around a protocol rather than designing around your requirements.
This should be as simple as a single HTML page, running full screen, using Strophe.js and an XMPP account. Strophe is an easy-to-use XMPP library in Javascript.
Something like the basic.{html,js} example here should be pretty much what you want:
http://code.stanziq.com/cgit/strophe/strophejs/tree/
Sounds like a simple pubsub setup (XMPP will work for this) where the clients are all publishers and the War room is the only subscriber. This eliminates the need for rosters so it keeps the intial configuration pretty simple.
I don't know what language you prefer to use, but it would be rather simple in Smack using the pubsub API and any XMPP server you prefer that supports the pubsub extension. (You will need to build Smack from source though as that particular API is new and not in the release version yet.)
I would like to add WebDAV to my iPhone application. What is the best way / library to enable this?
WebDAV is just an extension to HTTP. Thus, you can use any of the existing HTTP APIs available on the iPhone to implement WebDAV, assuming that your needs don't require customization to the request/response beyond that which is supported by the underlying API.
There are also a number of Objective-C based WebDAV client APIs. Maybe one of those will work? Hard to say, given the lack of details in your question.
I'd start with this particular trail of clues.