How to implement your own Cakephp-based responder
This responder provides rich features that allows you to customize your official account to preference. Prerequisites: Sandbox or Official Account, Web server, Database server CakePHP 2 Download: WeChat CakePHP-based Responder Setup a web & database server Create your web and database servers as you usually do. This responder just needs php and the php-mysqli extension enabled. […]
Rich Media Card Source Image For Cropping
What is the perfect size for the header images on rich media card images? Problem WeChat automatically crops your images which sometimes cuts out parts you would like to be visible Solution For header images on Rich Media Messages the format allowing visible images on iOS, Android and BlackBerry that are not obscured by the […]
How to implement a basic responder
Implementing a responder for your WeChat Sandbox or Official Account is as easy as section 1,2,3! Prerequisites: Sandbox or Official Account, Web server, Database server Download: WeChat Basic Responder Setup a web & database server Create your web and database servers as you usually do. This responder just needs php and the php-mysqli extension enabled. The […]
Invalid OPENID on sending Push Messages (Customer Services Messages)
When trying to send push messages via the Customer Services Messages API you might encounter an Invalid OPENID error even though you are passing a valid OPENID. JSON structure WeChat is very particular about its JSON structure. Even though you pass your JSON in the same structure as what is described in the documentation it is […]
Error: Official account services unavailable. Try again later
Not getting a response on Official Account when the user sends in a message. Timeouts and Common Messages Currently WeChat will hit your developer URL after a user sends in a message to your Official Account. However sometimes the app takes longer than 5 seconds to send the message and get a response from your […]
How do you obtain a WeChat ACCESS_TOKEN certificate from api.wechat.com?
The problem sometimes is it’s hard to find the AppID or what exactly the secret is. Account Types Essentially we have 2 types of accounts, subscription and service. Subscription account only gives you access to the Message API which allows for receiving messages and autoresponses and allows you to broadcast to your users once a […]
504 Gateway timeout – api.wechat.com
Normally trying to retrieve an ACCESS TOKEN from https://api.wechat.com/sns/oauth2/access_token will return an ACCESS TOKEN used in all consecutive calls, however depending on where your servers are hosted you might be an 504 Gateway Timeout. Solution When you receive a 504 Gateway Timeout your first point of call should be to change all occurences of api.wechat.com […]
How to setup a developer account
As a developer you always want your environment to test and play with different features. This is normally quite a mission but with WeChat it is easy. Sandbox accounts This can be created by going to English Sandbox. Please note the mobile number needs to be in the format +27723123456 If you are not getting an […]
How do I speak to my Official Account’s following?
Send messages directly to your Official Account's following within the first 48 hours of them messaging to the account directly.
Why are the Official Account services unavailable?
In the rare occasion that your Official Account services are unavailable, it is possible that WeChat may be processing routine maintenance and will typically run normally again within a few minutes. Should you still be experiencing an issue, please reach out to us by filling in a Contact form.