365体育备用网址报道19.3.3查询页面_365体育备用网址官网资讯

查询已有的页面,包括在摇一摇页面出现的主标题、副标题、88真人娱乐开户送28和点击进去的超链接。提供两种查询方式,可指定页面ID查询,也可批量拉取页面列表。
查询页面列表的接口如下所示:
https://api.weixin.qq.com/shakearound/page/search?access_token=ACCESS_TOKEN
查询页面列表时,POST数据示例如下所示。
需要查询指定页面时:

{
    "type":1,
    "page_ids":[12345, 23456, 34567]
}

需要分页查询或者指定范围内的页面时:

{
    "type":2,
    "begin":0,
    "count":3
}

上述数据的参数说明如表19-13所示:

表19-13查询页面列表接口参数说明
正确创建时,返回的数据示例如下。

{
    "data":{
        "pages":[
            {
                "comment":"520365体育备用网址微信会议",
                "description":"2016微信开拓",
                "icon_url":"http://p.qpic.cn/ecc_merchant/0/w_pic_1479985234871/0",
                "page_id":3089022,
                "page_url":"http://www.doucube.com/wxshake/jumpHongbao.HTML",
                "title":"微信会议"
            },
            {
                "comment":"自定义链接",
                "description":"自定义链接",
                "icon_url":"http://mmbiz.qpic.cn/mmbiz_jpg/BIvw3ibibwAYN3C2Yz4hib6I9o0fRxoMiblflXN06gmZu86jGa0aNtehVlibib6bBzhabiaySxIZaI2Obiab6GyFguRQkA/0?wx_fmt=jpeg",
                "page_id":5374944,
                "page_url":"http://www.doucube.com/wxshake/AddContact.html",
                "title":"微信摇一摇"
            },
            {
                "comment":"卡券发放100M流量券",
                "description":"方倍工作室",
                "icon_url":"https://o2o.gtimg.com/ibeacon/img/coupon-logo.jpg",
                "page_id":585404,
                "page_url":"http://zb.weixin.qq.com/nearbycgi/html/card/card.html?wechat_card_js=1",
                "title":"卡券发放"
            },
            {
                "comment":"",
                "description":"方倍工作室",
                "icon_url":"https://o2o.gtimg.com/ibeacon/img/store-logo.png",
                "page_id":5377792,
                "page_url":"https://zb.weixin.qq.com/app/template/store.html",
                "title":"摇一摇有惊喜"
            },
            {
                "comment":"摇红包模版测验",
                "description":"吃粽子划龙舟",
                "icon_url":"http://www.doucube.com/redpacket/120x120.jpg",
                "page_id":3195194,
                "page_url":"http://zb.weixin.qq.com/app/shakehb/hongbaotpl.html#wechat_redirect",
                "title":"清明节"
            },
            {
                "comment":"系统主动生成",
                "description":"方倍资讯",
                "icon_url":"http://mmbiz.qpic.cn/mmbiz_png/BIvw3ibibwAYPuibQ37g8KIWj3hGdrH3e97Uj45NRG4Z9cqTiaYT1YgibofmpFPA5CX5SGhDpLZ3180uOI1YWDpTl0Q/0?wx_fmt=png",
                "page_id":5372401,
                "page_url":"https://zb.weixin.qq.com/app/template/defaultStore.html",
                "title":"发现周边门店"
            },
            {
                "comment":"",
                "description":"赢取超值优惠",
                "icon_url":"https://o2o.gtimg.com/ibeacon/img/supermarket_logo.png",
                "page_id":5310884,
                "page_url":"https://wxo2o.qq.com/ibeacon/beaconweb/html/draw/lottery.html#wechat_redirect",
                "title":"礼从天降"
            }
        ],
        "total_count":7
    },
    "errcode":0,
    "errmsg":"success."
}

上述数据的参数说明如表19-14所示:

表19-14查询页面列表接口返回参数说明

------分隔线----------------------------

公布评论 (124人察看0条评论)
请自觉遵守互联网相关的政策法规,严禁公布色情、暴力、反动的言论。
用户名: 验证码: 点击我更换88真人娱乐开户送28
最新评论