Error posting to vk.com
-
Seems, that field owner_id should be a number, not string
Array
(
[pgID] =>
[isPosted] => 0
[pDate] => 2019-02-14 20:02:26
[Error] => Error: Array
(
[headers] => Array
(
[server] => Internet Information Services
[date] => Thu, 14 Feb 2019 20:02:27 GMT
[content-type] => application/json; charset=utf-8
[content-length] => 282
[connection] => keep-alive
[x-powered-by] => PHP/3.18237
[cache-control] => no-store
[content-encoding] => gzip
)[body] => {“error”:{“error_code”:100,”error_msg”:”One of the parameters specified was missing or invalid: owner_id not integer”,”request_params”:[{“key”:”oauth”,”value”:”1″},{“key”:”method”,”value”:”wall.post”},{“key”:”v”,”value”:”5.71″},{“key”:”owner_id”,”value”:”-\”9535468\””},{“key”:”from_group”,”value”:”1″},{“key”:”message”,”value”:”Test Post from Р?Р?Р?Р?РР?Р?Р?\r\nhttps:\/\/maximum-kirov.ru”},{“key”:”attachments”,”value”:”https:\/\/maximum-kirov.ru”}]}}
[response] => Array
(
[code] => 200
[message] => OK
)[cookies] => Array
(
))
)
Array ( [pgID] => [isPosted] => 0 [pDate] => 2019-02-14 20:02:26 [Error] => Error: Array ( [headers] => Array ( [server] => Internet Information Services [date] => Thu, 14 Feb 2019 20:02:27 GMT [content-type] => application/json; charset=utf-8 [content-length] => 282 [connection] => keep-alive [x-powered-by] => PHP/3.18237 [cache-control] => no-store [content-encoding] => gzip ) [body] => {"error":{"error_code":100,"error_msg":"One of the parameters specified was missing or invalid: owner_id not integer","request_params":[{"key":"oauth","value":"1"},{"key":"method","value":"wall.post"},{"key":"v","value":"5.71"},{"key":"owner_id","value":"-\"9535468\""},{"key":"from_group","value":"1"},{"key":"message","value":"Test Post from Р?Р?Р?Р?РР?Р?Р?\r\nhttps:\/\/maximum-kirov.ru"},{"key":"attachments","value":"https:\/\/maximum-kirov.ru"}]}} [response] => Array ( [code] => 200 [message] => OK ) [cookies] => Array ( ) ) )
- The topic ‘Error posting to vk.com’ is closed to new replies.