Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

many phone number tracking #61

Open
Alexvojander opened this issue Dec 4, 2019 · 16 comments
Open

many phone number tracking #61

Alexvojander opened this issue Dec 4, 2019 · 16 comments
Labels
gssoc21 medium average issue question Further information is requested

Comments

@Alexvojander
Copy link

Alexvojander commented Dec 4, 2019

Hi,
Learned your code and few another repositories
it is possible to track many phone numbers at the same time?
Even if they are not in contact list.
Thanks!

@rpotter12
Copy link
Member

Hi @Alexvojander
I think it is not possible to track many phone number at the same time because we are tracking online status by web-browser and we can't open multiple person's chats at the same time. Or there is other way also that we can set the script in such a way that it will run tracking script in multiple terminal but we need to have multiple whatsapp account to open whatsapp-web in multiple browser.
Currently, there is no feature to track a person if contact is not in contact list. We can add this feature also in tracking script.
thanks :)

@rpotter12 rpotter12 added the question Further information is requested label Dec 4, 2019
@xandao-dev
Copy link
Collaborator

Hey @rpotter12 I think we can create a script to iterate through contacts and track many numbers, what do you think?

@Alexvojander
Copy link
Author

Hi, @xandao6 , this script is already exist, the key question is to track users that is not in your contact list.
Regards

@rpotter12
Copy link
Member

Hi @Alexvojander

Hi, @xandao6 , this script is already exist, the key question is to track users that is not in your contact list.
Regards

Currently, it is not possible to track users that are not in your contact list because there is no option in whatsapp-web to open a chat by number. And we can't track without opening their chats.

I believe that there may be any alternative to track person by phone number. We need to find that.
Cheers :)

@rpotter12
Copy link
Member

rpotter12 commented Dec 5, 2019

Hey @rpotter12 I think we can create a script to iterate through contacts and track many numbers, what do you think?

Hi @xandao6
I think iterating through contacts will not keep tracking any person all the time or for every second.
I think this will not be a good idea for tracking multiple users at the same time but you try your implementation and check whether it tracks all the persons at the same time or not. :)

@xandao-dev
Copy link
Collaborator

Hi @Alexvojander

Hi, @xandao6 , this script is already exist, the key question is to track users that is not in your contact list.
Regards

Currently, it is not possible to track users that are not in your contact list because there is no option in whatsapp-web to open a chat by number. And we can't track without opening their chats.

I believe that there may be any alternative to track person by phone number. We need to find that.
Cheers :)

Yes there is! check this out:
image

@rpotter12
Copy link
Member

You can try implementation for this :)

@xandao-dev
Copy link
Collaborator

Soon I will!

@rpotter12
Copy link
Member

@Alexvojander @xandao6
I was thinking about this feature #61. Let's have a discussion about this :)

@xandao-dev
Copy link
Collaborator

What do you have in mind?

@xandao-dev
Copy link
Collaborator

#133 We have a issue to target unsaved people.

@rpotter12
Copy link
Member

I think we can track many phone numbers by using threads. I don't know is this a correct way or not.

@rpotter12 rpotter12 added gssoc21 hard advance issue labels Feb 29, 2020
@xandao-dev
Copy link
Collaborator

Thread would be good practice and the best option, but it would also work with a loop.

@xandao-dev
Copy link
Collaborator

The only problem is whether the status will load or not when switching between contacts, just testing to find out.

@xandao-dev xandao-dev added medium average issue and removed hard advance issue labels Mar 4, 2020
@HarsheetKakar
Copy link
Contributor

Even if we use threads when we synchronize it to wait for one contact to load and check its status, wouldnt the output would be similar to what we see in a loop?

@xandao-dev
Copy link
Collaborator

yes, but a loop block the program

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc21 medium average issue question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants