venomous0x / WhatsAPI

Interface to WhatsApp Messenger
2.59k stars 2.14k forks source link

check the reliability of the system #85

Open zeliad-papa opened 11 years ago

zeliad-papa commented 11 years ago

I wanted to check the reliability of the system For example, 50 messages sent only 47 were successfully blog brings not notice anything unusual was have is a way to make it more reliable?

ericblade commented 11 years ago

Why spam the system? No need to bother testing reliability, whatsapps security is terrible, no doubt they have little reliability as well.-- Sent from my HP Pre3On Sep 22, 2012 10:49 PM, yairnet notifications@github.com wrote: I wanted to check the reliability of the system For example, 50 messages sent only 47 were successfully blog brings not notice anything unusual was have is a way to make it more reliable?

          —
          Reply to this email directly or view it on GitHub.
zeliad-papa commented 11 years ago

thx :|

ericblade commented 11 years ago

You did read the project leader has stopped because of the spamming.. No specific details though.-- Sent from my HP Pre3On Sep 23, 2012 12:12 AM, yairnet notifications@github.com wrote: thx :|

          —
          Reply to this email directly or view it on GitHub.
zeliad-papa commented 11 years ago

I do not send SPAM I send important messages to my number and important to me that everything will

ericblade commented 11 years ago

Well I don't know what the content or whatever of your messages might've been, but I'd caution against doing any automated testing or sending of quantities of anything, unless you want to be noticed. That's all I'm saying :)-- Sent from my HP Pre3On Sep 23, 2012 12:42 AM, yairnet notifications@github.com wrote: I do not send SPAM I send important messages to my number and important to me that everything will

          —
          Reply to this email directly or view it on GitHub.
yuvadm commented 11 years ago

I'm maintaining a fork that has all teh codez https://github.com/yuvadm/WhatsAPI

zeliad-papa commented 11 years ago

yuvadm You can answer in English simpler tank you

ralphmyw commented 11 years ago

Hi yairnet,

You said "For example, 50 messages sent only 47 were successfully ...", would I know how you check if the message is delivered? Are you checking the message receipt?

I am trying to check the receipt but it seems it come back in a random way and the response rate is quite low. (e.g. 10 msg but only 1 or 2 come back for my case). I am sure that all the 10 messages are being sent (as i am sending to my own account). Do you share how you check the msg delivery status?

Thanks, Ralph

zeliad-papa commented 11 years ago

I made a script to send 50 messages echo the message is a number 1 .. 2 .. 3 ... When a message has not come I did not get an error if this is what you asked

2012/9/24 ralphmyw notifications@github.com

Hi yairnet,

You said "For example, 50 messages sent only 47 were successfully ...", would I know how you check if the message is delivered? Are you checking the message receipt?

I am trying to check the receipt but it seems it come back in a random way and the response rate is quite low. (e.g. 10 msg but only 1 or 2 come back for my case). I am sure that all the 10 messages are being sent (as i am sending to my own account). Do you share how you check the msg delivery status?

Thanks, Ralph

— Reply to this email directly or view it on GitHubhttps://github.com/venomous0x/WhatsAPI/issues/85#issuecomment-8806249.

תודה מראש , YairNet מנהל אמיו ישראל ולינוקס-סרב , 03-6195560 משרד 052-6779005 נייד

קישורים: אמיו ישראל www.muonline.co.il פורום אמיו ישראל www.forum.muonline.co.il מכתב זהב אמיו ישראל www.muonline.co.il/client/pop.html לינוקסרב www.linuxserv.co.il

ralphmyw commented 11 years ago

Hi yairnet,

echo the message is a number, do you mean something like this?

$w->Connect(); $w->Login(); $w->Message(time() . "-1", "**", "msg1"); $w->Message(time() . "-1", "*****", "msg2"); $w->Message(time() . "-1", "******", "msg3");

....

So you are checking the deliver status on the client phone rather than using the message receipt?

zeliad-papa commented 11 years ago

ralphmyw: Your example is only sending the first message - why? yuvadm: This code is different?

montasir1 commented 11 years ago

Give me more informations I am not familair with yet.  

liana medical company ltd.co Gad Greeb Building First floor North Al Fardous Hotel P.O. Box 13511 sudan - khartoum

Tel: + 249 155 109673 Fax: + 249 183 793072 skype liana_company


From: yairnet notifications@github.com To: venomous0x/WhatsAPI WhatsAPI@noreply.github.com Sent: Wednesday, September 26, 2012 10:09 PM Subject: Re: [WhatsAPI] check the reliability of the system (#85)

Your example is only sending the first message - why? — Reply to this email directly or view it on GitHub.

zeliad-papa commented 11 years ago

I just turn a few times in succession PHP to send messages sometimes certain messages do not reach the sights of PHP (connect to server whatsapp) returns no error

yuvadm commented 11 years ago

You're probably doing sockets wrong. The sockets usage in the current API is very basic and brittle. Use a more reliable transport.

zeliad-papa commented 11 years ago

You have the option to give me this code?

yuvadm commented 11 years ago

Nope, I've never done socket programming on PHP, sorry.

zeliad-papa commented 11 years ago

i can pay