Recently, many friends who have used Rails development projects began to use weixin_rails_middleware and weixin_authorize on Github. Many people have talked about Ratchet, which has been developing since the Spring Festival, now I am releasing it on the Forum, hoping to let more people know the existence of these gems and quickly complete the tasks in your hands.
1. One or two commands are used to build the Rails version.
At the simplest speed, you can start a project in 10 minutes:
Https://github.com/lanrion/weixin_rails_middleware
Automatic Verification request;
One or two commands, one configuration, and a concise style;
1. Support for Rails 3 and Rails 4;
2. Support multiple public account platforms, such as weimeng;
3. Support for a single user, that is, an account, but do not want to save it in the database;
4. Provides auxiliary methods for replying to messages;
5. Provide reply processing for all types of message business logic;
6. provides implementation cases in the custom menu in the wiki;
4. automatically generate a token;
For details, see:
Https://github.com/lanrion/weixin_rails_middleware/wiki/
Https://github.com/lanrion/weixin_rails_middleware
2. Advanced API implementation:
Https://github.com/lanrion/weixin_authorize
1. Except Oauth 2, other APIs have been implemented;
2. Support Redis to store access_token;
Or directly look at the wiki: https://github.com/lanrion/weixin_authorize/wiki/Getting-Started
3. Integrate the gem of Ratchet v2.0.1: twitter_ratchet_rails
That is: http://goratchet.com/compression is very small, very suitable for the use of wap, but there is a deficiency in that the components are not rich enough, expect more rich implementation
There are no other redundant ones to say. The viewer directly clicks:
Https://github.com/lanrion/twitter_ratchet_rails
4. Example (the latest version may not be updated in time)
Rails 4: https://github.com/lanrion/weixin_rails_middleware_example
Rails 3: https://github.com/lanrion/weixin_rails_3