C
C
Cyber_bober2016-07-28 15:45:57
JavaScript
Cyber_bober, 2016-07-28 15:45:57

How to make requests to Vkontakte API without APIId?

Hello, I'm using the wall.get method and it's documentation states that it can be used without a key. Can I call it without apiID?
Do I understand correctly that in order to use apiID you need to be authorized in the application?
Thank you.
Initialization and call code

VK.init({
    apiId:123456
  });

     VK.Api.call('wall.get',

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mikhail Osher, 2016-07-28
@Cyber_bober

(no offence) Are you kidding?
https://new.vk.com/dev/wall.get
This method can be called without an access key. Only public data is returned.
Access key = access_token, not apiId.
// EDIT
https://api.vk.com/method/wall.get?owner_id=666351...
Do not confuse a direct method call with a call via the JS API.
The browser has a number of limitations, which is probably why there are problems.
Moreover, no one forbids creating a dummy application in VK and inserting this apiId.

T
Tsiren Naimanov, 2016-07-28
@ImmortalCAT

Yes, you can use without apiId

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question