Git Product home page Git Product logo

Comments (10)

gerswin avatar gerswin commented on July 23, 2024

cdesjardins commented on 800c90c a day ago
OK, now I have more time to look at this, I just pushed some changes to the php/protocol version of whatsapi, here is what you should do:

  1. pull the latest from git://github.com/cdesjardins/WhatsAPI.git
  2. goto WhatsAPI/php/protocol
  3. edit testprotocol.php with your number/imei (not reversed or hashed, just the straight ID)
  4. in the call to $w->Message() change the **** to a target phone number
  5. run

check this

from whatsapi.

xairoo avatar xairoo commented on July 23, 2024

Thanks for the update, but now it takes very long and sometimes i get an internal server error 500.
Also i don't get any output.

from whatsapi.

falomundo avatar falomundo commented on July 23, 2024

Hello,
With this version, i cant connect to the server:

I get the following errormessages:
Warning: socket_connect(): Host lookup failed [-10001]: Unknown host in /var/www/whatsapp/php/protocol/whatsprot.class.php on line 200
Warning: socket_send(): unable to write to socket [32]: Broken pipe in /var/www/whatsapp/php/protocol/whatsprot.class.php on line 118
Warning: socket_read(): unable to read from socket [107]: Transport endpoint is not connected in /var/www/whatsapp/php/protocol/whatsprot.class.php on line 124 Notice: Undefined property: WhatsProt::$challengeArray in /var/www/whatsapp/php/protocol/whatsprot.class.php on line 109
Warning: socket_send(): unable to write to socket [32]: Broken pipe in /var/www/whatsapp/php/protocol/whatsprot.class.php on line 118
Warning: socket_read(): unable to read from socket [107]: Transport endpoint is not connected in /var/www/whatsapp/php/protocol/whatsprot.class.php on line 124

from whatsapi.

falomundo avatar falomundo commented on July 23, 2024

Hello again,
So Whatsapp is back now and I tried it once more.
I observe a slow login or i get a timeout after the max_timeout.(5 minutes).
Anybody else observed a similar behaviour?

from whatsapi.

falomundo avatar falomundo commented on July 23, 2024

I had to edit the testprotocol.php to limit the endless loop. It killed th firefox all the time.
It looks like, that the login is working, but there are no signs of sending messages.
Just the $this->read() in the Login() hung from time to time.
Later I tested this with the Whatsapp.class.php. with the same result.

from whatsapi.

AppsP avatar AppsP commented on July 23, 2024

whatsapp changed the plan ..
this API didnt work since last night.
we need to know the new plan..

from whatsapi.

falomundo avatar falomundo commented on July 23, 2024

Ok, thank you for this information and the effort of everybody.

from whatsapi.

falomundo avatar falomundo commented on July 23, 2024

I downloaded the latest version 9cc22c9, edited the testprotoco.php and voila. It works!

from whatsapi.

muslimsg avatar muslimsg commented on July 23, 2024

@falomundo : how is it working? I downloaded the latest version and dont know which file to run ?

plz help me

from whatsapi.

kcsimbu avatar kcsimbu commented on July 23, 2024

that file also not work

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.