Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to retrieve user's newsfeed list (VK.com)?
    primarykey
    data
    text
    <p>I am using following php code :</p> <pre><code>$vk = new VK($app_id, $api_secret); $user_wall = $vk-&gt;api('newsfeed.get', array( //'owner_id' =&gt; $o-&gt;profile_uid, 'count' =&gt; 100, 'filters' =&gt; 'post,photo,wall_photo,friend', 'access_token' =&gt; $o-&gt;profile_token )); echo '&lt;pre&gt;'; print_r($user_wall); exit; </code></pre> <p>I am getting error when trying above code. I have successfully completed auth and stored user profile info in mysql table. I notice that when I see Api.Console permission in App> Setting, I see Access the Wall permission. But in application I used to retrieve data, I do not see this permission.</p> <blockquote> <p>Error description : Permission to perform this action is denied</p> <p>Error code : 7</p> </blockquote> <p>The documentation is poorly described. Even which field is required or optional I can not determine. And what is difference between wall.get with filter "others" vs newsfeed.get ?</p> <p>LOGIN CODE:</p> <pre><code>$AuthURL = $vk-&gt;getAuthorizeURL('notify,friends,photos,audio,video,docs,notes,pages,status,offers,questions,wall,groups,notifications,stats,ads,offline', $redirect_uri); </code></pre> <p>AUTH CODE:</p> <pre><code>$vk_code = $_REQUEST['code']; $vk = new VK($app_id, $app_secret); $access_token = $vk-&gt;getAccessToken($vk_code, $redirect_uri); $uid = $access_token['user_id']; $token = $access_token['access_token']; $user_info = $vk-&gt;api('users.get', array( 'user_ids' =&gt; $uid, 'fields' =&gt; 'nickname, screen_name, sex, bdate (birthdate), city, country, timezone, photo, photo_medium, photo_big, has_mobile, contacts, education, online, counters, relation, last_seen, activity, can_write_private_message, can_see_all_posts, can_post, universities, counters' )); </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload