K
K
Khurshed Abdujalil2017-02-20 13:41:24
In contact with
Khurshed Abdujalil, 2017-02-20 13:41:24

How to get a token for working with groups in contact using API?

I get like this:
https://oauth.vk.com/authorize?client_id={app_id}&...
I get a token
further using this token I try to create a group using the groups.create method
gives an error "Access denied: no access to call this method"
even though the scope specifies groups

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Sokolov, 2017-02-20
@sergiks

The groups.create() method is only available to Standalone applications. Make sure that you are using the app_id of the Standalone VK application, the REDIRECT_URI parameter is set to https://oauth.vk.com/blank.html, and you are making the request from the same IP address that you received the token from.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question