E
E
EgorKluch2015-02-27 11:28:46
In contact with
EgorKluch, 2015-02-27 11:28:46

Why can a request to the VK API, 'likes.getList', always return an error "Invalid item id or page url"?

Good afternoon! Task:

  • The VK.Widgets.Like widget is installed on the site page
  • When a visitor shares a page, it is necessary to register this event, and after some time check whether the sharing post is still on the user's wall
  • The likes.getList method is used to check
  • To get likes for a specific page, a bunch of parameters (item_id, pageId) or (page_url, pageUrl) is used

However, no matter what combination of parameters I use, VK always returns an error with code 100:
" One of the parameters specified was missing or invalid: Invalid item id or page url "
The application was created with the type "Website", with settings :
Site address: egorkluch.besaba.com
Base domain: egorkluch.besaba.com
Probably, I'm doing something wrong, but my eyes are already blurry, I stubbornly don't see what could be the problem.
Help, please, to understand.
Prepared a specially demo page .
Thank you for your attention! I will be very grateful for help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
EgorKluch, 2015-03-04
@EgorKluch

It is necessary to send the application id as owner_id, and I passed the user id.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question