yowsup icon indicating copy to clipboard operation
yowsup copied to clipboard

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

Open siddharthsrivastava opened this issue 12 years ago • 13 comments

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 ?

siddharthsrivastava avatar May 20 '14 05:05 siddharthsrivastava

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

CODeRUS avatar May 20 '14 06:05 CODeRUS

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 :)

debarko avatar May 20 '14 06:05 debarko

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 ;-)

siddharthsrivastava avatar May 20 '14 06:05 siddharthsrivastava

@debarko telegram server is opensource?

CODeRUS avatar May 20 '14 06:05 CODeRUS

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

debarko avatar May 20 '14 06:05 debarko

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

debarko avatar May 20 '14 06:05 debarko

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

CODeRUS avatar May 20 '14 06:05 CODeRUS

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

debarko avatar May 20 '14 06:05 debarko

i'll just continue using xmpp

CODeRUS avatar May 20 '14 06:05 CODeRUS

yup. better.

debarko avatar May 20 '14 06:05 debarko

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 :)

CODeRUS avatar May 20 '14 06:05 CODeRUS

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 [email protected] 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

mrtass avatar May 20 '14 06:05 mrtass

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.

CODeRUS avatar May 20 '14 06:05 CODeRUS