Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
X Lib
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
XLibs
X Lib
Commits
d612bac7
Commit
d612bac7
authored
Jan 02, 2017
by
Alex Ne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ВК метод Likes.getList
parent
48918443
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
0 deletions
+27
-0
Likes.php
Social/VK/Method/Likes.php
+27
-0
No files found.
Social/VK/Method/Likes.php
0 → 100644
View file @
d612bac7
<?php
namespace
X\Social\VK\Method
;
use
X\Social\VK\VKAPI
;
/**
*
*/
class
Likes
extends
VKAPI
{
protected
$api_version
=
"5.60"
;
/**
* https://vk.com/dev/likes.getList
*/
public
function
getList
(
$type
,
$owner_id
,
$item_id
,
$filter
=
"likes"
,
$extended
=
0
,
$offset
=
0
,
$count
=
200
,
$skip_own
=
0
)
{
return
$this
->
check_response
(
$this
->
api
(
"likes.getList"
,
[
"type"
=>
$type
,
"owner_id"
=>
$owner_id
,
"item_id"
=>
$item_id
,
"filter"
=>
$filter
,
"extended"
=>
$extended
,
"offset"
=>
$offset
,
"count"
=>
$count
,
"skip_own"
=>
$skip_own
,
"v"
=>
$this
->
api_version
]));
}
}
?>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment