php - 微信分享如何自定义分享面板
phpcn_u1582
phpcn_u1582 2017-05-16 13:06:26
0
1
376

请叫大神两个为题:
1、如何设定分享面板中的内容,发现某微信游戏的menu面板是经过自定义的,如下图,这个是如何实现的呢?我也想设定只能“发送给朋友”

2、微信web调试工具的问题,如下图,显示error,但是error到底是啥error呢?如何查看,我的公众号刚申请,还未通过认证,是认证未通过的原因吗?目前可以分享调用,console可以输入自定义分享内容,但实际分享时却还是默认的获取title和首张图片,为什么呢?

phpcn_u1582
phpcn_u1582

reply all(1)
習慣沉默

This is very simple. WeChat's JSSDK has a wx.showMenuItems function, which is used to customize the display menu.
You can hide all other sharing menus and only show "Send to Friends".

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!