Conversation
supportTest posting returns an error: [Error] [VK.Com - VK.Com #0] - -=ERROR=- Array ( [pgID] => [isPosted] => 0 [pDate] => 2024-01-23 11:36:21 [Error] => Error: Array ( [headers] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object ( [data:protected] => Array ( [server] => kittenx [date] => Tue, 23 Jan 2024 11:36:21 GMT [content-type] => application/json; charset=utf-8 [content-length] => 273 [x-powered-by] => KPHP/7.4.115624 [set-cookie] => remixir=DELETED; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/; domain=.vk.com; secure; HttpOnly; SameSite=None [cache-control] => no-store [x-frame-options] => DENY [content-encoding] => deflate [x-trace-id] => Jb2MFtVMxY1XX9Dbyac5MKFgkoFh4g ) ) [body] => {"error":{"error_code":15,"error_subcode":1133,"error_msg":"Access denied: no access to call this method. It cannot be called with current scopes.","request_params":[{"key":"v","value":"5.131"},{"key":"method","value":"wall.post"},{"key":"oauth","value":"1"},{"key":"owner_id","value":"-213684916"},{"key":"from_group","value":"1"},{"key":"message","value":"Test Post from Начмед\r\nhttps:\/\/domain.top"},{"key":"attachments","value":"https:\/\/domain.top"}]}} [response] => Array ( [code] => 200 [message] => OK ) [cookies] => Array ( [0] => WP_Http_Cookie Object ( [name] => remixir [value] => DELETED [expires] => 1 [path] => / [domain] => vk.com [port] => [host_only] => ) ) [filename] => [http_response] => WP_HTTP_Requests_Response Object ( [response:protected] => WpOrg\Requests\Response Object ( [body] => {"error":{"error_code":15,"error_subcode":1133,"error_msg":"Access denied: no access to call this method. It cannot be called with current scopes.","request_params":[{"key":"v","value":"5.131"},{"key":"method","value":"wall.post"},{"key":"oauth","value":"1"},{"key":"owner_id","value":"-213684916"},{"key":"from_group","value":"1"},{"key":"message","value":"Test Post from Sitename\r\nhttps:\/\/domain.top"},{"key":"attachments","value":"https:\/\/domain.top"}]}} [raw] => HTTP/1.1 200 OK Server: kittenx Date: Tue, 23 Jan 2024 11:36:21 GMT Content-Type: application/json; charset=utf-8 Content-Length: 273 Connection: close X-Powered-By: KPHP/7.4.115624 Set-Cookie: remixir=DELETED; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/; domain=.vk.com; secure; HttpOnly; SameSite=None Cache-control: no-store X-Frame-Options: DENY Content-Encoding: deflate X-Trace-Id: Jb2MFtVMxY1XX9Dbyac5MKFgkoFh4g {"error":{"error_code":15,"error_subcode":1133,"error_msg":"Access denied: no access to call this method. It cannot be called with current scopes.","request_params":[{"key":"v","value":"5.131"},{"key":"method","value":"wall.post"},{"key":"oauth","value":"1"},{"key":"owner_id","value":"-213684916"},{"key":"from_group","value":"1"},{"key":"message","value":"Test Post from Sitename\r\nhttps:\/\/domain.top"},{"key":"attachments","value":"https:\/\/domain.top"}]}} [headers] => WpOrg\Requests\Response\Headers Object ( [data:protected] => Array ( [server] => Array ( [0] => kittenx ) [date] => Array ( [0] => Tue, 23 Jan 2024 11:36:21 GMT ) [content-type] => Array ( [0] => application/json; charset=utf-8 ) [content-length] => Array ( [0] => 273 ) [x-powered-by] => Array ( [0] => KPHP/7.4.115624 ) [set-cookie] => Array ( [0] => remixir=DELETED; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/; domain=.vk.com; secure; HttpOnly; SameSite=None ) [cache-control] => Array ( [0] => no-store ) [x-frame-options] => Array ( [0] => DENY ) [content-encoding] => Array ( [0] => deflate ) [x-trace-id] => Array ( [0] => Jb2MFtVMxY1XX9Dbyac5MKFgkoFh4g ) ) ) [status_code] => 200 [protocol_version] => 1.1 [success] => 1 [redirects] => 0 [url] => https://api.vk.com/method/wall.post?v=5.131 [history] => Array ( ) [cookies] => WpOrg\Requests\Cookie\Jar Object ( [cookies:protected] => Array ( [remixir] => WpOrg\Requests\Cookie Object ( [name] => remixir [value] => DELETED [attributes] => WpOrg\Requests\Utility\CaseInsensitiveDictionary Object ( [data:protected] => Array ( [expires] => 1 [path] => / [domain] => vk.com [secure] => 1 [httponly] => 1 [samesite] => None ) ) [flags] => Array ( [creation] => 1706009781 [last-access] => 1706009781 [persistent] => [host-only] => ) [reference_time] => 1706009781 ) ) ) ) [filename:protected] => [data] => [headers] => [status] => ) ) ) 0
I see the plugin support remains “at its best”…
The same error. I think this is related to the VK application, there are changes there now.
Well, of course, I understand everything, but the developers of this plugin are supposed to keep such changes under control and have time to release the appropriate updates
I found how to solve the problem: In file: ...\social-networks-auto-poster-facebook-twitter-g\inc-cl\vk.api.php in string 59 replace fragment: 'owner_id'=>$options['pgIntID'] with: 'owner_id'=>intval($options['pgIntID']) or for replacing the whole string: from: $postArr = array('owner_id'=>$options['pgIntID'], 'access_token'=>$options['appAuthToken'], 'from_group'=>'1', 'message'=>$msg, 'attachments'=>$atts, 'v'=>$this->apiVer); to: $postArr = array('owner_id'=>intval($options['pgIntID']), 'access_token'=>$options['appAuthToken'], 'from_group'=>'1', 'message'=>$msg, 'attachments'=>$atts, 'v'=>$this->apiVer);
@korchiy nothing happens after it
In VK you now need to register the application here https://id.vk.com/about/business/go You will need to set up access and send it for moderation. You also need to confirm information about the developer and provide passport information.
Even with these steps you won’t be able to make repost to VK via SNAP. Apparently, the creators of the plugin decided to completely give up on it
I talked to VKontakte technical support and was able to set it up. 1 – You need to create an application in the new service https://id.vk.com/about/business/go 2 – Specify as Trusted Redirect URL https://oauth.vk.com/blank.html 3 – Confirm the developer’s data so that access can be managed. 4 – After moderating the data, it will be possible to enable access. You need to enable the following accesses: Wall, Photos, Wiki pages https://i.imgur.com/Q9wo0fc.png 5 – On the website, update the token in the plugin settings. This reply was modified 2 years ago by qfurs .
I see the plugin support remains “at its best”…
The same error. I think this is related to the VK application, there are changes there now.
Well, of course, I understand everything, but the developers of this plugin are supposed to keep such changes under control and have time to release the appropriate updates
I found how to solve the problem: In file: ...\social-networks-auto-poster-facebook-twitter-g\inc-cl\vk.api.php in string 59 replace fragment: 'owner_id'=>$options['pgIntID'] with: 'owner_id'=>intval($options['pgIntID']) or for replacing the whole string: from: $postArr = array('owner_id'=>$options['pgIntID'], 'access_token'=>$options['appAuthToken'], 'from_group'=>'1', 'message'=>$msg, 'attachments'=>$atts, 'v'=>$this->apiVer); to: $postArr = array('owner_id'=>intval($options['pgIntID']), 'access_token'=>$options['appAuthToken'], 'from_group'=>'1', 'message'=>$msg, 'attachments'=>$atts, 'v'=>$this->apiVer);
@korchiy nothing happens after it
In VK you now need to register the application here https://id.vk.com/about/business/go You will need to set up access and send it for moderation. You also need to confirm information about the developer and provide passport information.
Even with these steps you won’t be able to make repost to VK via SNAP. Apparently, the creators of the plugin decided to completely give up on it
I talked to VKontakte technical support and was able to set it up. 1 – You need to create an application in the new service https://id.vk.com/about/business/go 2 – Specify as Trusted Redirect URL https://oauth.vk.com/blank.html 3 – Confirm the developer’s data so that access can be managed. 4 – After moderating the data, it will be possible to enable access. You need to enable the following accesses: Wall, Photos, Wiki pages https://i.imgur.com/Q9wo0fc.png 5 – On the website, update the token in the plugin settings. This reply was modified 2 years ago by qfurs .