search

Home  >  Q&A  >  body text

javascript - When sharing a webpage to WeChat Moments, how to add some titles and background images when sharing it to WeChat friends? ? ? ?

The first few items are shared from iOS. They have some native interfaces and are easy to make. When the H5 page is shared, the following are just links. Does this require adjusting the WeChat interface? ? ? ?

黄舟黄舟2750 days ago630

reply all(4)I'll reply

  • 高洛峰

    高洛峰2017-05-16 13:41:11

    Need WeChat’s jssdk

    reply
    0
  • 滿天的星座

    滿天的星座2017-05-16 13:41:11

    Use jssdk, configure the config and you can call the interface. .

    reply
    0
  • 黄舟

    黄舟2017-05-16 13:41:11

    jssdk

    Get the click status of the "Share to Moments" button and customize the sharing content interface

    wx.onMenuShareTimeline({
        title: '', // 分享标题
        link: '', // 分享链接
        imgUrl: '', // 分享图标
        success: function () { 
            // 用户确认分享后执行的回调函数
        },
        cancel: function () { 
            // 用户取消分享后执行的回调函数
        }
    });

    reply
    0
  • 过去多啦不再A梦

    过去多啦不再A梦2017-05-16 13:41:11

    You need a certified WeChat official account, other WeChat interface documents have been written very clearly,

    reply
    0
  • Cancelreply