Skip to content

Instantly share code, notes, and snippets.

@gsamat
Created April 21, 2017 13:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gsamat/e8bf55eb0d8dcb7c8ae342450f485feb to your computer and use it in GitHub Desktop.
Save gsamat/e8bf55eb0d8dcb7c8ae342450f485feb to your computer and use it in GitHub Desktop.
curl "https://api.vk.com/method/likes.getList?type=sitepage&owner_id=4575679&page_url=https:%2F%2Fmeduza.io%2Fcards%2Fkak-spastis-ot-vygoraniya-na-rabote&count=1"
HTTP/1.1 200 OK
Server: Apache
Date: Wed, 19 Apr 2017 09:42:30 GMT
Content-Type: application/json; charset=utf-8
Content-Length: 406
Connection: close
X-Powered-By: PHP/3.12542
Set-Cookie: remixlang=3; expires=Sat, 14 Apr 2018 16:43:45 GMT; path=/; domain=.vk.com
Pragma: no-cache
Cache-control: no-store
{
"error": {
"error_code": 100,
"error_msg": "One of the parameters specified was missing or invalid: Invalid item id or page url",
"request_params": [
{
"key": "oauth",
"value": "1"
},
{
"key": "method",
"value": "likes.getList"
},
{
"key": "type",
"value": "sitepage"
},
{
"key": "owner_id",
"value": "4575679"
},
{
"key": "page_url",
"value": "https://meduza.io/cards/kak-spastis-ot-vygoraniya-na-rabote"
},
{
"key": "count",
"value": "1"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment