2013-0820

相关信息请参看微信公众号开发接口文档

下边是PHP版的菜单添加、删除、查询接口实现代码,包括Token获取代码:*1

private function menus_operate ()
{
    $type = empty($_GET['type']) ? '' : trim($_GET['type']);
    if (!$type)
    {
        echo 'operate fail,no operate type';
        return;
    }
    $password = empty($_GET['password']) ? '' : tr 阅读全文>>
                
标签: PHP 微信公众号自定义菜单 阅读:19199
2013-0810

在做微信自定义菜单开发的时候报40016 invalid button size这个错误,莫名奇妙的,2-5个菜单数目也对啊,下边分享下C#版代码:

系列化类:

[Serializable]
public class Button
{
    public string name { get; set; }
}
[Serializable]
public class SubButton : Button
{
    public string type { get; set; }
    public string key { get; set; }
}
[Serializa 阅读全文>>
                
标签: 微信公众号接口 自定义菜单 40016 invalid button size 阅读:63702