Git Product home page Git Product logo

Comments (7)

aesedepece avatar aesedepece commented on August 26, 2024

Please try with my forked version:
https://github.com/aesedepece/WhatsAPI

If still can't send messages you may be facing the same issue @kirkchen does:
https://github.com/aesedepece/Guasa/issues/12

from whatsapi.

ChromeD2 avatar ChromeD2 commented on August 26, 2024

@aesedepece:
Sure seems like the same issue, tried both Win7 and Ubuntu 12.04 with a few different versions of php and all forks available from this project. Even tried python and proxying the connection just to be sure but I get the same result. Will try this from a fully different connection and computer tomorrow and see where it gets me, but it seems I'm stalled for the time being.
The official client does work on my Android using the same Wi-Fi network as this PC, so it's not my router's config either.

Oh well, I'll crack this down in due time. Until then I'll be open to suggestions!

Thanks for the speedy reply.

from whatsapi.

ChromeD2 avatar ChromeD2 commented on August 26, 2024

Confirmed that it doesn't work for me regardless of computer/os/connection used. I'll keep looking into it and post if I ever do find a solution.

Cheers!

from whatsapi.

ne0c0de avatar ne0c0de commented on August 26, 2024

Hi aesedepece,

I clone your latest code from github and try to make some test.

My latest PHP code is:

require "whatsapp.class.php";

$wa = new WhatsApp("90544xxxxxxx", md5(strrev("myimei")), "ne0c0de");
echo "Connecting\n";
echo $wa->Connect();
echo "Login\n";
echo $wa->Login();
echo "Sending message\n";
echo $wa->Message(time()."-1","90530yyyyyyy","Just some testing");
echo "Finito\n";

Result:

Connecting
Login
Sending message
Finito

But there's no message came to me.

PS: I'm using latest Whatsapp app for iphone (4)

I tried this code with my UDID bu result didn't change

I'm able to connect whatsapp servers through 5222 with telnet.

So, what can i do know? :)

(My operating system is Ubuntu)

from whatsapi.

assegaf avatar assegaf commented on August 26, 2024

hi @ChromeD2
did you find any solution on Message not able to send the Message ?

from whatsapi.

ChromeD2 avatar ChromeD2 commented on August 26, 2024

Sad to say I didn't. I'll probably try sniffing some packets out with wireshark to see if it's country-related. Maybe there's something different in the way Whatsapp sends messages to different country codes and country code sizes (e.g. +44 vs +351). Just haven't found the time yet!

from whatsapi.

assegaf avatar assegaf commented on August 26, 2024

oic, why I didnt think it first, looks like I will find out by sniffing too, my country code is 62.

from whatsapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.