With this widget, you can advertise yourself on Odnoklassniki. It will allow your website’s visitors to subscribe literally in one click.
Your profile should be open for viewing.
Code to insert
How to get the ID of your profile
- On portal toolbar (top right) open menu below your avatar icon.
- Select an option “Settings”.
- At the bottom of the page that appears find the label “Your profile ID”.
- Copy the ID and paste it into the widget embed code.
Friendship or subscription event tracking
If user has subscribed to you or sent a friendship invite a postMessage will be sent to your page.
Message data in case of subscription:
Message data in case of friendship invite: