Coder Social home page Coder Social logo

Validate WhatsApp accounts/numbers about yowsup HOT 8 CLOSED

tgalal avatar tgalal commented on August 16, 2024
Validate WhatsApp accounts/numbers

from yowsup.

Comments (8)

CODeRUS avatar CODeRUS commented on August 16, 2024

why you asking it in Yowsup project bugtracker?

from yowsup.

ruriimasu avatar ruriimasu commented on August 16, 2024

I was just thinking this might be related to why some of the guys were having their accounts banned after 17th msg.

from yowsup.

Akuka avatar Akuka commented on August 16, 2024

if you want, i write this php code in two versions... you can use it:

function hasWhatsappV1($number)
{
    $status_url     = "http://dev.developr.ch/whatsappstatus/index.php?number=".$number;
    $status_content = file_get_contents($status_url);

    if ($status_content == "null") {
        return false;
    } else {
        return true;
    }
}

function hasWhatsappV2($number)
{
    $country = substr($number, 0, 2);
    $number = substr($number, 2);

    $status_url     = "https://sro.whatsapp.net/client/iphone/iq.php?cd=1&cc=".$country."&me=12345&u[]=".$number;
    $status_content = file_get_contents($status_url);
    $status_xml     = simplexml_load_string($status_content);

    if(!$status_xml->array->dict) return false;

    return true;
}

from yowsup.

kingk110 avatar kingk110 commented on August 16, 2024

is hasWhatsappV2() working ??

from yowsup.

Akuka avatar Akuka commented on August 16, 2024

Last time I checked they both worked, choose what you want ...

edit:
Not Found
The requested URL /client/iphone/iq.php was not found on this server.

hasWhatsappV2() will not work anymore... they (whatsapp) removed this page..

from yowsup.

kingk110 avatar kingk110 commented on August 16, 2024

and the 1st is not working also!!!

from yowsup.

Akuka avatar Akuka commented on August 16, 2024

Ok so forget it,
We'll find a new way ... (What I do is ask for the user's status is null and if it says no account whatsapp)
But anyway, you should concentrate on the real problem, now I can not send messages through the computer normally, I am constantly blocked ... Must find a solution

from yowsup.

alejandro-amo avatar alejandro-amo commented on August 16, 2024

you are not up to date about protocol changes. read this repo commit log.

anyway, I think that checking accounts is not the logical reaction against temporary bans after mass mssaging.

just try to send less messages at a slower speed

from yowsup.

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.