Skip to content

Instantly share code, notes, and snippets.

@suanmiao
Created February 2, 2014 15:29
Show Gist options
  • Save suanmiao/8769977 to your computer and use it in GitHub Desktop.
Save suanmiao/8769977 to your computer and use it in GitHub Desktop.
get new message count
post:
url:
https://mp.weixin.qq.com/cgi-bin/getnewmsgnum
param:
ajax 1
f json
lang zh_CN
lastmsgid 200003738
random 0.6920196032466058
t ajax-getmsgnum
token 1248203397
referer:
https://mp.weixin.qq.com/cgi-bin/message?t=message/list&count=20&day=7&token=1248203397&lang=zh_CN
response:
{"ret":"0", "totalMsgCount":"", "newTotalMsgCount":"2"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment