Answer the question
In order to leave comments, you need to log in
Getting messages with messages.get vk api?
Trying to get the text of the last message.. What am I doing wrong?
$messageInfo = json_decode(file_get_contents("https://api.vk.com/method/messages.get?count=1&time_offset=30&v=5.68"));
$body = $messageInfo->response[0]->items.body;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question