Code Monkey home page Code Monkey logo

itchat's Introduction

Itchat

Itchat的nodejs版本

基于:

安装:

你可以从npm上下载

npm install itchat --save

当然你可以选择克隆本项目

git clone https://github.com/maiff/Itchat.git

简单实例入门

当你克隆本项目然后

npm install && npm run example

扫码你就能体验一个基于图灵机器人的微信机器人(详情代码见example/test.js)

其他详情请见文档

项目正在编写中欢迎pr。如果star多我就写一个web wechat的最新抓包教程。

itchat's People

Contributors

maiff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

itchat's Issues

不能使用哦。

let uuid = res.text.match(/"(.+)"/)[1]
^

TypeError: Cannot read property 'text' of undefined
at request.get.end (D:\Js\Itchat\lib\getUuid.js:12:20)
at Request.callback (D:\Js\Itchat\node_modules\superagent\lib\node\index.js:728:3)
at ClientRequest.req.once.err (D:\Js\Itchat\node_modules\superagent\lib\node\index.js:647:10)
at Object.onceWrapper (events.js:315:30)
at emitOne (events.js:116:13)
at ClientRequest.emit (events.js:211:7)
at TLSSocket.socketErrorListener (_http_client.js:387:9)
at emitOne (events.js:116:13)
at TLSSocket.emit (events.js:211:7)
at emitErrorNT (internal/streams/destroy.js:66:8)

感觉是不是 那个 uuidUrl的问题。
这个工程怎么执行哦。。。

关于uuid的获取

请问必须在微信开放平台,花费300元认证成为开发者,才能获取到appid和key,然后再应用到itchat中吗?

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.