Giter VIP home page Giter VIP logo

mp-msg-demo's Introduction

公众号分为两种类型:订阅号,服务号。

订阅号:更多是个人账号使用

服务号:企业或组织使用,

订阅号的功能是服务号的功能的子集

订阅号可以迁移为服务号,需要重新注册一个服务号后迁移,不能升级。

为指定 openid 用户发送消息实现方式有两种:

1. 客服消息(订阅号、服务号)文档地址

触发场景后,在有效时间内,可发送消息给指定用户。

流程: 用户触发 => 微信服务器 => 我们的服务器 => 创建或者选择一个“客服” => 客服回复消息 => 微信服务器 => 用户

限制:

场景 | 下发额度(条) | 有效期

用户发送消息 | 5 | 48 小时

点击自定义菜单 | 3 | 1 分钟

关注公众号 | 3 | 1 分钟

扫描二维码 | 3 | 1 分钟

(测试后)有效期:触发场景动作下的有效时间,比如触发了用户发送消息后,在 48 小时内,可以不停发送消息给用户.

2. 模版消息(服务号)文档地址

发送固定模版样式的消息给用户。

流程: 我们服务器 => 微信服务器(生成模版消息) => 用户

限制

10 万条/天

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.