The response from the request to receive messages about a specific conversation returns only identifiers from all the individual messages contained in this conversation. Therefore, if I want to receive all messages from all conversations, there will be many requests ...
Is there any solution for getting all messages (text from messages) from a specific conversation in one request? Or any other workaround for this kind of problem?
Here is an example:
Request: XXX?fields=subject,message_count,messagesโ (where XXX is the conversation identifier) โโAnswer:
{
"message_count": 4,
"id": "XXX",
"messages": {
"data": [
{
"created_time": "2016-05-11T08:29:56+0000",
"id": "id1"
},
{
"created_time": "2016-05-11T08:29:54+0000",
"id": "id2"
},
{
"created_time": "2016-05-11T08:21:56+0000",
"id": "id3"
},
{
"created_time": "2016-05-09T14:04:17+0000",
"id": "id4"
}
]
}
}
raBne source
share