tgalal / yowsup

The WhatsApp lib
GNU General Public License v3.0
7.06k stars 2.23k forks source link

How to configure yowsup to use my server rather than Whatsapp servers ? #268

Closed siddharthsrivastava closed 10 years ago

siddharthsrivastava commented 10 years ago

I am considering developing a WhatsApp like service for our internal use on android (No external servers). Is it possible to use yowsup to communicate via my server rather than WhatsApp servers ?

CODeRUS commented 10 years ago

+1 I want to make my own whatsapp service, pleaes tell me how!!!!!

debarko commented 10 years ago

Yowsup is a client only for Whatsapp server. you need to make your own server implementation for that. and if u already have one server implementation which does work exactly like the client then please feel free to change the config file located at src/Yowsup/Common/constants.py and change the domain to whatever you wish. It should start chatting with ur server instead of actual Whatsapp servers. P.S. One suggestion though, if you really wanna create your own server better try cloning Telegram as it is much more secure and also Open Source.

P.P.S: If you already have implemented you own Whatsapp server please make it open source so that everyone can learn more from it and make this client more friendly to the actual Whatsapp servers :)

siddharthsrivastava commented 10 years ago

Thanks. I am looking into Telegram as well. I don't have an implementation as of now, but if I'll have, it would certainly be open source ;-)

CODeRUS commented 10 years ago

@debarko telegram server is opensource?

debarko commented 10 years ago

https://telegram.org/source i think so. not sure. you could go through this page and check. @CODeRUS

debarko commented 10 years ago

But since the client is open source it will be easier to reverse the server.

CODeRUS commented 10 years ago

only cient api is open, not server. its not xmpp, good luck in reversing mtproto server :D

debarko commented 10 years ago

:P then i guess u are free to make your own client and server :P

CODeRUS commented 10 years ago

i'll just continue using xmpp

debarko commented 10 years ago

yup. better.

CODeRUS commented 10 years ago

making whatsapp services over xmpp is trivial, but obliviously it won't be connected to whatsapp datacenters and you can chat only with your server clients :)

mrtass commented 10 years ago

Wouldn't be easier to just configure xmpp server? I believe whatsapp have done some major changes on the default xmpp protocol there it would be hard to replicate these changes

On May 20, 2014 10:24 AM, CODeRUS notifications@github.com wrote: making whatsapp services over xmpp is trivial, but obliviously it won't be connected to whatsapp datacenters and you can chat only with your server clients :)


Reply to this email directly or view it on GitHub: https://github.com/tgalal/yowsup/issues/268#issuecomment-43590288

CODeRUS commented 10 years ago

sure, but why not to stay with topic? there are nothing hard in creating whatsapp service clones over plain xmpp, all features already documented in many projects.