Topic-icon VK subscribe button don't work

6 years 1 month ago - 6 years 1 month ago #63536 by alechu
this code don't work now:
{SCVkSubscribe type=group link=https://vk.com/club1 display=1 mode=1 width=350 mode=0}
Last edit: 6 years 1 month ago by alechu.
The topic has been locked.
The topic has been locked.
Support Specialist
6 years 1 month ago #63542 by alzander
What happens when you use that code? Do you see the EasyTag on the page {SCVkSubscribe ..} or is the tag missing? If you look at the HTML on the page, is there any VK code in the spot where the tag was?

Can you let us know a URL we can see the issue on? We're investigating more on our end, but any details you can provide on what isn't working, that would really help.

Thanks,
Alex
The topic has been locked.
6 years 1 month ago #63543 by alechu
look here:

The topic has been locked.
Support Specialist
6 years 1 month ago #63553 by alzander
In the Javascript console, VK is throwing the following error:
Uncaught Error: No owner_id passed
    at Object.VK.Widgets.Subscribe (openapi.js:1657)
    at (index):3416
It looks like there's both a documentation issue with our button and a change in how the VK subscribe button works.

Can you update your tag to add the user or group link that you want the subscribe button to be for, like:
{SCVkSubscribe type=user link=http://vk.com/link-to-your-profile}
If you're setting up a subscription to a group, change the type to group. However, I think a code change may be necessary for the group link to work, but please try.

I'm also seeing a couple areas in the code that we could improve efficiency for that widget. Let us know how the above goes and we can help make sure that widget works properly for you.

Thanks,
Alex
The topic has been locked.