Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.

yowsup 3.0 #96

Open
dbtech48 opened this issue Apr 25, 2019 · 12 comments
Open

yowsup 3.0 #96

dbtech48 opened this issue Apr 25, 2019 · 12 comments

Comments

@dbtech48
Copy link

Is there any chance that we can get transwhat working with the all new version 3.0 (3.1.0 right now) of the yowsup library?

tgalal again put a lot of effort in yowsup and it would be really awesome to get transwhat working with the new version.

I know that there hasn't been much activity in this project since some time, but at least I won't abandon hope.

Thanks

@stv0g
Copy link
Owner

stv0g commented Apr 25, 2019

Hi, that's great news. I was about to abandon transWhat due to the issues we had in the past with yowsup. I think we should start an collaborative effort to fix transWhat. I will look into it in a few days.

Pull requests are very welcome!

@stv0g
Copy link
Owner

stv0g commented Apr 25, 2019

@dazzzl
Copy link
Contributor

dazzzl commented May 1, 2019

Hey Steffen,

thanks for continue developing transwhat ... What is the status of the branch yowsup-3? I got the following error message:

ModuleNotFoundError: No module named 'main.whatsappbackend'; 'main' is not a package

@stv0g
Copy link
Owner

stv0g commented May 1, 2019

Hi @dazzzl,

it's currently a work in progress. I will expect to push a first version by the weekend.

I am (again) becoming discouraged by getting my numbers banned :(
Any volunteers or ideas which could provide numbers for testing?

@dazzzl
Copy link
Contributor

dazzzl commented May 1, 2019

you can use https://www.textnow.com/ with voice registration.

@eehome
Copy link

eehome commented May 7, 2019

Any volunteers or ideas which could provide numbers for testing?

https://sms-reg.com/
This service is specifically designed to receive sms-codes for new unique phone numbers for various services, including whatapp for a reasonable fee.
Ready to make some funds on the account of the specified service, after you sign up.
( I use numbers for the region of Russia (my region) )

@eehome
Copy link

eehome commented May 20, 2019

look forward to working commit

@github-k8n
Copy link

Has there been any update on this?

I was able to successfully register with yowsup 3.2.3 (did not yet test communication) but I'd like to be able to actually use it to communicate with whatsapp users using my jabber server :)
I guess due to the fact that the new authentication with the client_static_keypair and other required details this might require some kind of rewrite of transwhat and the way the whatsapp credentials are submitted/stored?

Oh and by the way, the DNS SRV entries for the jabber server used on 0l.de are wrong, it seems you specified the target as "xmpp.0l.de" but forgot to add a dot at the end (thus it is adding 0l.de again):
_xmpp-server._tcp.0l.de. 86400 IN SRV 0 1 5269 xmpp.0l.de.0l.de.

You might want to add a dot at the end of the entry to ensure it uses the entry as absolute record (or just enter "xmpp" in your config to let it automatically add "0l.de"

With the current DNS entries nobody would be able to join unless they have an account on that server and manually specify the xmpp server...

@arkkors
Copy link

arkkors commented Jun 15, 2021

i am considering to start working on this, are you taking merge requests?

@stv0g
Copy link
Owner

stv0g commented Jun 15, 2021

Hi @arkkors, yes for sure :)

@arkkors
Copy link

arkkors commented Jun 15, 2021

great to hear that :) can you tell me what still needs to be done? i skimmed through the sources and afaik only transwhat.yowsupwrapper needs to be changed, or is there anything else that needs work?

as a sidenote, i also saw asynccore imports here and there. is there any reason why asyncio is not used? i am not entirely sure, but on a first glance the whole logic in transwhat.deferred could be replaced with asyncio.Futures

@arkkors
Copy link

arkkors commented Jun 22, 2021

apparently yowsup's master branch is currently broken, at least i could not the cli to start up properly. related issue is tgalal/consonance#6

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants