M
M
mcavalon2013-11-05 00:15:37
symfony
mcavalon, 2013-11-05 00:15:37

Question for symfony2 developers?

Who worked with HWIOAuthBundle, tell me how to work with newsfeed.get and how to write scope correctly?
In configs I wrote

hwi_oauth:<br>
    firewall_name: main<br>
    fosub:<br>
        username_iterations: 30<br>
        properties:<br>
            vkontakte: vkontakte_id<br>
    resource_owners:<br>
        vkontakte:<br>
            type:                vkontakte<br>
            client_id:           *****<br>
            client_secret:       ************************<br>
            scope:               wall,friends,offline<br>

in response I receive
array (<br>
  'error' => <br>
  array (<br>
    'error_code' => 7,<br>
    'error_msg' => 'Permission to perform this action is denied',<br>
...<br>

Thanks in advance

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Romanenko, 2013-11-05
@slimus

It seems to me that hwio has nothing to do with it.
What type of application do you have? Website?

M
mcavalon, 2013-11-05
@mcavalon

standalone. If I call directly the url to get the token, then the VK-window indicates that the application will work with the wall. And hwio calls a window without these rights, i.e. only for work with friends and offline

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question