微信公众平台测试账号

1.微信公众平台开发者工具

https://mp.weixin.qq.com/cgi-bin/frame?t=advanced/dev_tools_frame&nav=10049&token=235473886&lang=zh_CN

2.微信公众平台测试账号管理

https://mp.weixin.qq.com/debug/cgi-bin/sandboxinfo?action=showinfo&t=sandbox/index

获取APPID 和SECRET

3.在线接口调试工具

https://mp.weixin.qq.com/debug

基础支持

APPID

secret

获取TOKEN

{

"access_token": "dkmmDvfNgBtfRj2qSD4HXVoJ1jb7aYj3QTTm4IluUp9zFT0shNW40pbJPLXNuyEh2PZYSJpNDKppueG4jWwYCmMStXxoCcdJjunCgGbX_LcyWyo9Q7ysI1ObiuRa_M67CBLfAFAUTD",

"expires_in": 7200

}

自定义菜单

自定义菜单创建接口

{

"button": [

{

"type": "view",

"name": "热门直播",

"url": "http://www.baidu.com",

"sub_button": [ ]

},

{

"name": "平安金袋",

"sub_button": [

{

"type": "view",

"name": "九江银行",

"url": "http://www.baidu.com",

"sub_button": [ ]

},

{

"type": "view",

"name": "绵阳银行",

"url": "http://www.baidu.com",

"sub_button": [ ]

}

]

}

]

}



4. 测试账号管理

https://mp.weixin.qq.com/debug/cgi-bin/sandboxinfo?action=showinfo&t=sandbox/index

扫描二维码关注公众号

5.发送消息

https://mp.weixin.qq.com/debug

向用户发送消息

{

"touser": "oBnKSjkDfBAIdPJrvjTVChIXUyf8",

"msgtype": "news",

"news": {

"articles": [

{

"title": "新年快乐 2014",

"description": "新的一年新的开始,祝愿虎子新年新希望新起点新收获!",

"url": "http://baike.baidu.com/view/67771.htm",

"picurl": "http://pic15.nipic.com/20110625/559997_112627231368_2.jpg"

}

]

}

}


微信支付、企业号和公众号(包括服务号和订阅号) Java SDK开发工具包

https://github.com/wechat-group/weixin-java-tools

你可能感兴趣的:(微信公众平台测试账号)