Support » Plugin: WP Weixin » Pre-Sale Question

  • Resolved ersalabert

    (@ersalabert)


    Hi Alexandre,

    Do I need to know JS SDK coding to use and extend this plugin? I read some of the documentation/introduction and am still not sure how far I will be able to get to integrate a WP site with WeChat system.

    I’m in the research and discovery phase now for a new client and website that wants integration, and I believe WP is the best option for web development, and your plugin. I saw other plugins to integrate WeChat with WP, but I believe they are in Chinese language.

    Please advise.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Alexandre Froger

    (@frogerme)

    Hello @ersalabert
    First, please let me apologize: as it often happens, I did not see the topic, as I mostly pay attention to github and direct emailslike indicated in the plugin’s description. I would totally understand if the answer comes too late and you are left disappointed.

    Although it certainly helps, you do not need to know all the inner bits of how to setup the JS SDK to extend the plugin. A lot of the work is done already especially when it comes to share on WeChat messages and Moments, and you can subscribe to javascript events that get triggered upon completion of these 2 actions.

    Beyond that, it really depends on your use case. The wx global variable is signed and initialised with the complete jsApiList, ready for use right out of the box by WP Weixin, and that’s good news, because this is with it that all the magic happens.

    Here is the list of APIs:

    `
    jsApiList: [
    ‘onMenuShareTimeline’,
    ‘onMenuShareAppMessage’,
    ‘startRecord’,
    ‘stopRecord’,
    ‘onVoiceRecordEnd’,
    ‘playVoice’,
    ‘pauseVoice’,
    ‘stopVoice’,
    ‘onVoicePlayEnd’,
    ‘uploadVoice’,
    ‘downloadVoice’,
    ‘chooseImage’,
    ‘previewImage’,
    ‘uploadImage’,
    ‘downloadImage’,
    ‘translateVoice’,
    ‘getNetworkType’,
    ‘openLocation’,
    ‘getLocation’,
    ‘hideOptionMenu’,
    ‘showOptionMenu’,
    ‘hideMenuItems’,
    ‘showMenuItems’,
    ‘hideAllNonBaseMenuItem’,
    ‘showAllNonBaseMenuItem’,
    ‘closeWindow’,
    ‘scanQRCode’,
    ‘addCard’,
    ‘chooseCard’,
    ‘openCard’
    ]
    `

    The JS SDK is fairly simple, at least compared to What WP Weixin already takes care of, and you can find its documentation in English here: https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421141115.

    Don’t hesitate to follow up this discussion on github, I’d be happy to help!

    Hello
    We would like to create a blog site using WP and integrate Wechat.

    The idea is that one could prep a blog and get it published on website through the official account and the blog would appear on website and vice versa.

    Does this plug in allow this?

    Thank you

    Plugin Author Alexandre Froger

    (@frogerme)

    Hi @vladmo1 !
    The plugin does not integrate this feature yet – for more details why, and the feasibility, you can see this support question.

    Hi Thanks for your reply. When do you think you will have this option? Do you have any idea ? We were thinking either WP or Joomla. Joomla seems to have one. Thanks Vladimir

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Pre-Sale Question’ is closed to new replies.