Migrating to V3

We have redesigned Hyvor Talk from zero to make it faster, more powerful, and easier to use. You can read our blog post on v3 here (blog post coming soon). This guide will help you migrate from V2 to V3.

To migrate to v3, follow these steps:

If you are using:

  • WordPress: We have added an option to our plugin to switch between v2 and v3. You can find it in our plugin in the WordPress dashboard.
  • Blogger - Blogger users should remove the old widget and re-install through Platforms

1. Installation Code

Currently, you have a code similar to below on your website:

<div id="hyvor-talk-view"></div>
<script type="text/javascript">
    var HYVOR_TALK_WEBSITE = YOUR_WEBSITE_ID;
    var HYVOR_TALK_CONFIG = {
        url: false,
        id: false
    };
</script>
<script async type="text/javascript" src="//talk.hyvor.com/web-api/embed"></script>

You have to remove this code from your website and then follow our installation guide to install version 3.

Important! When changing the code, you have to make sure the old HYVOR_TALK_CONFIG.id matches with the page-id attribute in the new <hyvor-talk-comments> element.

For example, if you have id: false as the following:

var HYVOR_TALK_CONFIG = {
   id: false
}

Set page-id="" (This will use the canonical URL of the page to identify it)


If you have a dynamic ID similar to the following code:

var HYVOR_TALK_CONFIG = {
   id: "<?php echo $post->id; ?>"
}

Make sure to use the same: page-id="<?php echo $post->id; ?>" in the new element.

2. Stateless SSO

If you use Stateless Single Sign-on, you have to update the code that generates the user data and hash in your back-end.

These are the new changes:

See the Stateless SSO guide for a complete tutorial.

3. OpenID Connect SSO

If you use OpenID Connect SSO, only one minor change is required. Add the following URL as a callback URL in your OpenID Connect provider:

https://talk.hyvor.com/embed/oidc

4. Webhooks

V3 changes the webhook format and how signature is created. You have to update your webhook code to support the new format.

The changes are:

See webhooks for a complete tutorial.