Answer the question
In order to leave comments, you need to log in
How to get vkontakte auth_token with wall permission for standalone application as a web page?
Hello. I'm trying to get a token for further work with the vkontakte api, but I'm at a dead end. please tell me if you know.
The situation is as follows:
1. For the token, you need to get permission wall (+8192) ( https://vk.com/dev/permissions )
2. This cannot be done by an application of the "Website" type or according to the Authorization Code Flow scheme, which means through Implicit Flow you can do this
3. Implicit Flow authorization can be done in the Standalone application.
4. A web page with a javascript code is a Standalone application
5. For authentication, you need to redirect the browser to the page " https://oauth.vk.com/authorize " (documentation: https://vk.com/dev/implicit_flow_group )
6. At the same time, in order to get the "wall" permission, you must use " https://oauth.vk.com/blank.html " as the redirect_uri parameter, otherwise the request for the "wall" permission is ignored. Example of authorization links:
a. With wall permission: https://oauth.vk.com/authorize?client_id=7557834&d...
b. Without wall permission: https://oauth.vk.com/authorize?client_id=7557834&d
... ."
8. Question: how after authorization with a redirect to the page " https://oauth.vk.com/blank.html "
9. Is it possible to get authorization in a standalone javascript Application as a page in a browser with "wall" permission?
Do I understand correctly the features of VKontakte from points 1 to 7, or did I make a mistake somewhere?
Well, actually, the most important thing in this matter is points 8 and 9.
Thank you for your attention!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question