LaneWeChat

PHP微信开发框架,高效开发微信公众号应用。简洁而又轻量

GitHub下载 查看手册

群发图文消息

Visits: 8354 Date: 2014-11-05 14:42:24 Power By 李轩Lane

    

            场景描述:用户给我们的公众号发送了一条消息,我们的公众号被动响应,给用户回复一条图文消息。


            场景举例:用户给我们的公众号发送了“周末聚会”,我们的公众号给用户回复了一条图文消息,有十条,每一条都是一个标题和图片,点击可以连接到一个地址。


            代码:

            <?php 

            include 'lanewechat.php';


            $fansList = \LaneWeChat\Core\UserManage::getFansList();

            //上传图片

            $menuId = \LaneWeChat\Core\Media::upload('/var/www/baidu_jgylogo3.jpg', 'image');

            if(empty($menuId['media_id'])){

                die('error');

            }

            //上传图文消息

            $list = array();

            $list[] = array('thumb_media_id'=>$menuId['media_id'] , 'author'=>'作者', 'title'=>'标题', 'content_source_url'=>'www.lanecn.com', 'digest'=>'摘要', 'show_cover_pic'=>'1');

            $list[] = array('thumb_media_id'=>$menuId['media_id'] , 'author'=>'作者', 'title'=>'标题', 'content_source_url'=>'www.lanecn.com', 'digest'=>'摘要', 'show_cover_pic'=>'0');

            $list[] = array('thumb_media_id'=>$menuId['media_id'] , 'author'=>'作者', 'title'=>'标题', 'content_source_url'=>'www.lanecn.com', 'digest'=>'摘要', 'show_cover_pic'=>'0');

            $mediaId = \LaneWeChat\Core\AdvancedBroadcast::uploadNews($list);

            //给粉丝列表的用户群发图文消息

            $result = \LaneWeChat\Core\AdvancedBroadcast::sentNewsByOpenId($fansList['data']['openid'], $mediaId);


Reply: Elltherie On 2020-03-08 11:57:11

Cialis Psicologico https://apcialisle.com/# - cheapest cialis Propecia Free 30 Day Trial <a href=https://apcialisle.com/#>Cialis</a> Kamagra Generic Canada

回复

Reply: Elltherie On 2020-03-26 02:13:32

Erection Remedies https://apcialisle.com/# - cialis online ordering Order Propecia Online Uk <a href=https://apcialisle.com/#>cialis online prescription</a> Proscar Y Propecia Drug

回复

Reply: KetWef On 2020-05-01 23:36:20

Quiero Comprar Viagra En Espana <a href=https://buyciallisonline.com/#>Buy Cialis</a> Priligy Se Vende En Mexico <a href=https://buyciallisonline.com/#>Cialis</a> Priligy Verschreiben

回复

Reply: Christy On 2020-06-04 18:42:37

I am sure this piece of writing has touched all the internet viewers, its really really pleasant article on building up new weblog.

回复

Reply: Owereemiz On 2020-06-16 21:57:28

Canadian Rx Drugs No Script https://bbuycialisss.com/ - Buy Cialis generic everyday cialis <a href=https://bbuycialisss.com/#>Buy Cialis</a> levitra combien de temps avant

回复

Reply: Flor On 2020-10-30 20:14:58

Dander is the microscopic particles of skin, fur and hair that animals continually shed. where to get viagra how much does viagra cost

回复

Reply: Jildcisona On 2020-11-06 09:55:28

real viagra for sale online http://fmedrx.com/ <a href="http://fmedrx.com/#">when will generic viagra be available</a> online doctor prescription for viagra

回复

Reply: Fbsgisona On 2020-11-18 06:48:25

why do i get emails for viagra <a href="https://buybuyviamen.com/#">viagra congestive heart failure</a> where to buy viagra in london over the counter

回复

Reply: JivhApery On 2020-11-19 01:29:11

viagra levitra cialis comparisons <a href="https://purevigra.com/#">viagra aus frankreich</a> que daГ±o hace el viagra

回复

Reply: Kmrfprot On 2020-11-19 03:15:49

how much is viagra at costco <a href="https://purevigra.com/#">https://purevigra.com</a> can i take viagra with an enlarged prostate

回复

Reply: DevkAlado On 2020-11-19 08:00:20

buy viagra montreal <a href="https://paradiseviagira.com/#">viagra online sales in australia</a> st martin viagra

回复

Reply: FrbhAlado On 2020-11-19 08:59:20

geneic viagra <a href="https://paradiseviagira.com/#">paradiseviagira.com</a> free generic viagra samples

回复

Reply: Fhsbisona On 2020-11-24 16:19:07

tramal ja viagra <a href="https://buybuyviamen.com/#">https://buybuyviamen.com/</a> viagra eksi

回复

Reply: Fnrdisona On 2020-11-24 22:48:16

online viagra trusted <a href="https://llviabest.com/#">generic viagras</a> chip viagra

回复

Reply: Fmsgisona On 2020-11-26 07:40:02

dia chi mua viagra <a href="https://siviagmen.com/#">viagra at cvs</a> hqmeded org buy viagra

回复

Reply: DbsfAlado On 2020-11-27 05:09:36

buy generic viagra in us <a href="https://lightvigra.com/#">viagra 25mg online india</a> order viagra online with paypal

回复

Reply: FdbvAlado On 2020-11-27 06:02:59

sildenafil online pharmacy <a href="https://hopeviagrin.com/#">order sildenafil citrate online</a> buy viagra soft online

回复

Reply: Fqfisona On 2020-11-30 07:29:52

middle school essay help <a href="https://essaywritingservicesjy.com/#">all college essays</a> essay

回复

Reply: Fnrhisona On 2020-12-02 11:31:49

chip viagra <a href="https://genqpviag.com/#">viagra for sale in the uk</a> viagra over the counter walgreens

回复

Reply: Ftghisona On 2020-12-03 12:55:37

someone write my essay for me <a href="https://thesiswritinghelpsjj.com/#">essay writing on technology</a> great research papers

回复

Reply: DvncAlado On 2020-12-12 02:31:08

cialis no prerscription <a href="https://vipmenciall.com/#">cheap cialis pills</a> cialis in canada fast shipping

回复

Reply: FgnsAlado On 2020-12-12 03:16:11

cialis with dapoxetine from canada <a href="https://tadafcialirx.com/#">cialis tabs</a> price comparison cialis

回复

Reply: Fbsbisona On 2020-12-12 22:44:37

generic cipla cialis <a href="https://cialmenon.com/#">cialis, levetra, viagra for less</a> brand cialis for sale

回复

Reply: Fsfgisona On 2020-12-13 13:45:57

canada viagra $38 <a href="https://viagstorerx.com/#">viagra online australia paypal</a> prescription viagra australia

回复

Reply: JgsvApery On 2020-12-13 20:57:43

viagra online stores <a href="https://atviagrmenrx.com/#">buyng viagra in sydney</a> viagra michigan cheap

回复

Reply: Gokegoado On 2020-12-14 02:53:07

cialis order canada Lelefuerse <a href=https://bansocialism.com/>safe cialis online</a> tumjuptImpam Sueno De Propecia

回复

Reply: Fgrsisona On 2020-12-14 17:36:45

100mg viagra on line <a href="https://xviagrnorx.com/#">viagra exchange</a> works as well as viagra

回复

Reply: DvnjAlado On 2020-12-17 01:23:27

canadianlab viagra <a href="https://hopeviagrin.com/#">viagra shipping overnight</a> viagra with dapoxetine overnight delivery

回复

Reply: FhsnAlado On 2020-12-17 02:11:53

viagra with paypal <a href="https://lightvigra.com/#">walgreen viagra price</a> prescription less viagra

回复

Reply: Aqwsisona On 2021-01-09 07:56:37

erectile <a href="http://canadadrugslopl.com/#">canadian online pharmacy</a> best online canadian pharmacy

回复

Reply: NllpAlado On 2021-01-12 05:05:26

pharmacy rx world <a href="http://pharmacy-onlineasxs.com/#">best drugstore lipstick</a> best drugstore shampoo

回复

Reply: Jtmfisona On 2021-01-12 18:52:56

pharmacy online drugstore <a href="http://canadadrugsonlinevbyh.com/#">erectile dysfunction pills</a> the people's pharmacy

回复

Reply: JlloApery On 2021-01-12 20:22:38

pharmacies <a href="http://canadianonline-pharmacydazc.com/#">drug store news</a> pharmacy rx one reviews

回复

Reply: Khthprot On 2021-01-13 05:29:38

peoples drug store <a href="http://onlinepharmacyzefb.com/#">ed meds</a> pharmacy near me

回复

Reply: FgvdAlado On 2021-01-13 18:42:18

express scripts pharmacy <a href="http://canadapharmacyonlinestbh.com/#">canadian drug pharmacy</a> canadian pharmacy generic viagra

回复

Reply: JvcxApery On 2021-01-16 19:59:03

genaric viagra <a href="http://fmedrx.com/#">where to buy viagra online</a> buy viagra on discover card does viagra work on women <a href="http://edabcrx.com/#">viagra with fast shipping</a> levitra vs viagra viagra uk <a href="http://abcrxmed.com/#">where to buy viagra over the counter</a> herbal viagra duro cheap prices for viagra <a href="http://cialedrx.com/#">viagra gold overnight</a> adderall and viagra viagraonline <a href="http://hitrxmenvia.com/#">viagra</a> viagra voucher

回复

Reply: FgnhAlado On 2021-01-17 20:57:10

viagra <a href="http://ltdviagragogo.com/#">canadianlab viagra</a> paypal viagra the effects that viagra and cialis have on women <a href="http://hdgenericviagraxk.com/#">chep viagra</a> if you have insurance how much does viagra cost viagra with prescription online <a href="http://buygenericviarga.com/#">cheap viagra online canada</a> viagra and mastercard viagra cheap xm advertising <a href="http://buyhdpillvia.com/#">lowest price viagra on line</a> femaleviagra free viagra alternative <a href="http://genericviagrix.com/#">genereic viagra</a> viagra pyschological

回复

Reply: Klioprot On 2021-01-18 06:47:30

viagra force <a href="http://bestviagrx.com/#">cheap viagra on line</a> viagra lowest priced viagra/ mastercard accepted <a href="http://viarxhd.com/#">cheap viagra</a> online viagra on sale edmonton generic viagra online pharmacy <a href="http://viagetpill.com/#">comprare viagra con paypal</a> brand viagra viagra cheap master card <a href="http://pillexrx.com/#">female viagra pills australia</a> how much is viagra per pill viagra generic where to buy <a href="http://usggrxmed.com/#">can i order viagra online without prescription</a> viagra for sale in shop in melbourne

回复

Reply: Aqbvisona On 2021-01-19 03:08:02

best prices for viagra <a href="http://acialaarx.com/#">viagra price per pill</a> buy viagra from usa http://acialaarx.com/ - viagra .com ’

回复

Reply: Lcxisona On 2021-01-21 08:22:30

generic viagra supplier india <a href="http://genqpviag.com/#">generic viagra with dapoxetine</a> where to buy viagra chemist austrlia http://genqpviag.com/ - viagra free trial coupon ’

回复

Reply: NlbxAlado On 2021-01-21 09:06:26

order cialis 20mg <a href="http://cialijomen.com/#">order cialis</a> cialis sell http://cialijomen.com/ - low price cialis ’

回复

Reply: JvcbxApery On 2021-01-21 19:01:08

where to buy cialis cheap <a href="http://phrcialiled.com/#">canada toronto cheap fase cialis</a> cialis 40mg http://phrcialiled.com/ - cialis 5mg australia ’

回复

Reply: Jbdcisona On 2021-01-22 11:34:21

how much does viagra cost with insurance <a href="http://llviabest.com/#">viagra generic</a> viagra 100 mg http://llviabest.com/ - viagra and sports performance ’

回复

Reply: FbdhAlado On 2021-01-22 20:55:17

cialis lilly <a href="http://21cialismen.com/#">do you need a prescription for cialis</a> cialis generic http://21cialismen.com/ - real cialis sublingual ’

回复

Reply: Ahmdisona On 2021-01-23 22:32:16

cialis chennai <a href="http://cialmenshoprx.com/#">cialis name brnd</a> cialis and viagra mix http://cialmenshoprx.com/ - cheap cialis by post ’

回复

Reply: JnhApery On 2021-01-26 03:43:45

generica cialis <a href="http://loncialis.com/#">san antonio cialis doctor</a> cheap brand cialis 20 mg http://loncialis.com/ - generic cialis cheap ’

回复

Reply: NmilAlado On 2021-01-26 04:12:36

buy generic viagra reviews <a href="http://xz-pharmacyonline.com/en/career-opportunities.html">buy female viagra australia</a> female viagra australia http://xz-pharmacyonline.com/en/career-opportunities.html - jeneric viagra for sale ’

回复

Reply: Kbbtprot On 2021-01-27 08:30:33

howard stern commercial cialis <a href="https://xz-pharmacyonline.com/#">anti viral</a> cialis no prescription https://xz-pharmacyonline.com - meds online without doctor prescription ’

回复

Reply: FbgAlado On 2021-01-27 17:11:56

priligy & viagra which is better? <a href="https://canadianpharmacy-usx.com/organic.htm">buy viagra insurance</a> 100 mg pfizer viagra no prescription https://canadianpharmacy-usx.com/organic.htm - viagra super active,free shipping ’

回复

Reply: Ahmdisona On 2021-01-29 04:51:14

brand cialis <a href="https://impotencecdny.com/">canadian pharmacies online</a> order cialis no prescription https://impotencecdny.com/ - canada drug ’

回复

Reply: JnscApery On 2021-01-31 10:11:55

buy viagra from canadian pharmacy <a href="http://erectilejyzd.com/index.php?called=terms">viagra for daily use cost</a> viagra 5mg 10mg no prescription http://erectilejyzd.com/index.php?called=terms - buy viagra 20 mg ’

回复

Reply: NgscAlado On 2021-01-31 10:24:20

cheap viagra pills from india <a href="http://canadianpharmacy-yy.com/Fitness/how-to-get-a-six-pack.html">viagra without a doctor</a> sildenafil tablets 100 mg http://canadianpharmacy-yy.com/Fitness/how-to-get-a-six-pack.html - buy brand name viagra online ’

回复

Reply: FhnhAlado On 2021-02-01 23:31:21

Avalide <a href="https://canadianpharmacy-yy.com/">Tetracycline</a> women's health https://canadianpharmacy-yy.com/ - health canada drug database ’

回复

Reply: Fqhhisona On 2021-02-04 11:52:18

aarp recommended canadian pharmacies <a href="http://happyrxpharmacy21.com/ ">canadian discount pharmacy</a> canadian drug stores online

回复

Reply: AqcfGainnasix On 2021-02-04 19:42:25

cialisonline <a href="http://cialisvja.com/ ">cheap cialis free shipping</a> cialis no prescrip

回复

Reply: NncsAlado On 2021-02-06 23:29:44

where to buy viagra melbourne <a href="http://lightvigra.com/ ">50mg generic viagra</a> viagra generic dosage

回复

Reply: JbnbApery On 2021-02-07 20:09:06

viagra online canadian pharmacy <a href="http://online21rxon.com/ ">top rated online canadian pharmacies</a> canadian prescriptions

回复

Reply: Kuikthink On 2021-02-09 01:42:39

viagra for sale in the uk <a href="http://viagerkr.com/ ">best generic viagra</a> viagra 4 packs

回复

Reply: Fqbbisona On 2021-02-11 11:00:20

money magazine best home loan 2015 <a href="http://ascashapply.com/ ">payday loans summersville wv</a> first premier credit card cash advance fee

回复

Reply: Kvaxprot On 2021-02-14 01:40:48

american cash advance phone number <a href="http://rirocash.com/ ">money loan in baltimore</a> pink pig payday loans

回复

Reply: NbnhAlado On 2021-02-14 12:50:13

sildenafil citrate tablets 100mg <a href="http://vigedon.com/ ">http://vigedon.com/ </a> sildenafil citrate vs viagra

回复

Reply: Labxisona On 2021-02-14 18:45:56

liquid cialis from rui <a href="https://jecialisbn.com/ ">frecuencia uso cialis</a> cialis gГ©nГ©rique en pharmacie france

回复

Reply: FbsgAlado On 2021-02-17 01:29:35

cialis with dapoxetine 80mg <a href="https://llecialisjaw.com/ ">http://llecialisjaw.com/ </a> cialis for entertainment purposes

回复

Reply: Kbbfthink On 2021-02-17 23:30:21

viagra pills cheap <a href="https://kloviagrli.com/ ">http://kloviagrli.com/ </a> wild viagra ВЈ

回复

Add Comment
©2014 lanewechat.lanecn.com , All rights reserved. Power By LaneWeChat 微信PHP开发框架.  京ICP备14005030号-1