Git Product home page Git Product logo

whatsappapi_dotnet's Introduction

WhatsAPINet

This is a API written in C# but it can be used in any .NET language. It's a fork from WhatsAPINet, which is based on WhatsAPI. The goal of this fork is to make it all work again and refacter the code, add documentation and write documentation on how Whatsapp works.

Documentation

Protocol

The WhatsApp protocol is sadly not officially documented. While working on this project, I will try to document most of my progress in the docs folder.

The protocol is based on the XML-based XMPP protocol, a heavily documented internet messaging protocol. To reduce the XML overhead, the XML structure and a lot of common keywords are converted into bytes. See docs/funxmpp.txt for a more detailed explanation. Sadly, the XMPP standard is not followed exactly everywhere.

Encryption

Following the news that WhatsApp messages were sent in plaintext (and thus readable for everyone when on a WiFi hotspot), encryption was added. At least the Android client uses this encryption, which seems to be TLS as specified by the XMPP RFC. However, I did not really look into this. Also, the mapping of keywords to bytes seems to have also changed in the latest version of the Android app.

Code request token

The current implementation for token generation is created by pastoso.

whatsappapi_dotnet's People

Contributors

fraga avatar hhymarco avatar mainlyer avatar perezdidac avatar photonios avatar shirioko avatar w33ds92 avatar zstars avatar

Stargazers

 avatar

Watchers

 avatar

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.