This page centralizes Vevioz developer resources, including the comments embed workflow and the OAuth access overview.
Open Interactive Comments ConfiguratorThe Vevioz Comments Plugin lets you embed Vevioz-powered discussions on any website with a lightweight iframe-based integration.
data-href attribute.<div class="vevioz-comments" data-href="https://example.com/article-1" data-width="100%" data-numposts="10" data-colorscheme="auto" data-locale="en-US"></div> <script async src="https://www.vevioz.com/plugins/comments.js"></script>
| Attribute | Required | Default | Description |
|---|---|---|---|
data-href |
Yes | - | The page URL that will be used as the comment thread key. |
data-width |
No | 100% | The width of the comments container. You can use pixels or percentages. |
data-numposts |
No | 10 | The number of comments to display. Supported range: 1 to 100. |
data-colorscheme |
No | auto |
The UI theme for the comments widget: auto, light, or dark. |
data-locale |
No | Auto from page language | Force a specific interface locale, for example en or id. |
data-colorscheme="auto" is used.newest.10 comments, with additional comments loaded through the load-more action.Translate and Show original prioritize the language selector locale, then the user country setting, then the profile language, and finally IP-country auto-detection for guests or missing data through the Yandex API.Wo_DeveloperComments table.<div class="vevioz-comments" data-href="https://www.vevioz.com/youtube" data-width="100%" data-numposts="20" data-colorscheme="auto" data-locale="en-US"></div> <script async src="https://www.vevioz.com/plugins/comments.js"></script>
Use the Vevioz OAuth API to authorize applications and retrieve approved account data with GET requests.
| Name | Meaning | Values | Description | Required |
|---|---|---|---|---|
type |
Query type. | get_user_data, posts_data |
Specifies the type of query you want to send. | |
limit |
Item limit. | LIMIT |
Specifies the maximum number of items to return. Max: 100 | Default: 20. |
APP_ID and APP_SECRET.
https://www.vevioz.com/oauth?app_id={YOUR_APP_ID}code GET parameter, for example: http://yourdomain/?code=XXX<?php
$app_id = 'YOUR_APP_ID'; // your application app id
$app_secret = 'YOUR_APP_SECRET'; // your application app secret
$code = $_GET['code']; // the GET parameter you got in the callback: http://yourdomain/?code=XXX
$get = file_get_contents("https://www.vevioz.com/authorize?app_id={$app_id}&app_secret={$app_secret}&code={$code}");
$json = json_decode($get, true);
if (!empty($json['access_token'])) {
$access_token = $json['access_token']; // your access token
}
?>
if (!empty($json['access_token'])) {
$access_token = $json['access_token']; // your access token
$type = "get_user_data"; // or posts_data
$get = file_get_contents("https://www.vevioz.com/app_api?access_token={$access_token}&type={$type}");
}
{
"api_status": "success",
"api_version": "1.3",
"user_data": {
"id": "",
"username": "",
"first_name": "",
"last_name": "",
"gender": "",
"birthday": "",
"about": "",
"website": "",
"facebook": "",
"twitter": "",
"vk": "",
"google+": "",
"profile_picture": "",
"cover_picture": "",
"verified": "",
"url": ""
}
}