Giter VIP home page Giter VIP logo

webwechat's Introduction

WebWeChat

通过Django程序实现对WeChat接口的请求,可以和微信联系人实现收发消息

登录

API 	获取 UUID
url 	https://login.weixin.qq.com/jslogin
params
    method         GET
    appid:         应用ID
    redirect_uri   上次访问的url
    fun:           new 应用类型
    lang:          zh_CN 语言
    _:             时间戳
    
获取UUID返回数据格式
window.QRLogin.code = 200; window.QRLogin.uuid = "xxxxxxxx"

获取二维码
API 	生成二维码
url 	https://login.weixin.qq.com/l/ uuid

二维码扫描
API 	二维码扫描登录
url 	https://login.weixin.qq.com/cgi-bin/mmwebwx-bin/login
params 	
    method      GET
    loginicon   true
    tip:        1 未扫描 0 已扫描
    uuid:       xxxxxxxx
    r:          140686053
    _           时间戳

返回数据格式(String)
window.code=xxx;
xxx:
    408 登陆超时
    201 扫描成功
    200 确认登录
    当返回200时,还会有
    window.redirect_uri="https://wx.qq.com/cgi-bin/mmwebwx-bin/webwxnewloginpage?ticket=xxx&uuid=xxx&lang=xxx&scan=xxx";

webwechat's People

Contributors

bingdujianer avatar

Watchers

James Cloos avatar  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.