F
F
freshcot2018-10-23 11:17:46
API
freshcot, 2018-10-23 11:17:46

Is it possible to use access_token vk for repost?

Hello. I wanted to clarify one point on api vk. When I receive a token through a request like this: https://oauth.vk.com/authorize?client_id=1&display...
I get to the vk page, where you can copy the token in the address bar and use it for api methods, for example - do repost.
However, if you make a request like this: https://oauth.vk.com/authorize?client_id=1&display...
where there is a redirect_uri parameter, then the token received through this method cannot be used for the wall.repost method.
The documentation does not explicitly say about this, so I decided to check with the developers: did I understand everything correctly - is this how it should work?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Sokolov, 2018-10-23
@freshcot

The documentation clearly says:
In the description of access rights about wall they write:

Access to regular and advanced wall methods.
This access right is not available for sites by default (it is ignored when trying to authorize for applications of the type "Website" or according to the Authorization Code Flow scheme ).

M
Mors Clamor, 2018-10-23
@66demon666

Not possible, but necessary. It should be used in almost all requests for actions on behalf of a user or group

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question