BuddyService Get All Messages Problem

0 votes

Hi,

 

When I request BuddySerrvice.getAllMessages in Flash SDK, it returns a too big response data. The response count is  "total of messages x total of messages" approximately.

The response is like; 

{"app42":{"response":{"success":true,"buddies":{"buddy":[{"userName":"AnyUser","ownerName":"AnyUser","message":"AnyMessage","sendedOn":"2014-06-08T10:10:10.337Z","messageId":"anyMessageID"}]}}}},

{"app42":{"response":{"success":true,"buddies":{"buddy":[{"userName":"AnyUser","ownerName":"AnyUser","message":"AnyMessage","sendedOn":"2014-06-08T10:10:10.337Z","messageId":"anyMessageID"}]}}}},
{"app42":{"response":{"success":true,"buddies":{"buddy":[{"userName":"AnyUser","ownerName":"AnyUser","message":"AnyMessage","sendedOn":"2014-06-08T10:10:10.337Z","messageId":"anyMessageID"}]}}}},
{"app42":{"response":{"success":true,"buddies":{"buddy":[{"userName":"AnyUser","ownerName":"AnyUser","message":"AnyMessage","sendedOn":"2014-06-08T10:10:10.337Z","messageId":"anyMessageID"}]}}}},
{"app42":{"response":{"success":true,"buddies":{"buddy":[{"userName":"AnyUser","ownerName":"AnyUser","message":"AnyMessage","sendedOn":"2014-06-08T10:10:10.337Z","messageId":"anyMessageID"}]}}}}
 
 
It is repeating itself so many times. Currently I have only 50 messages but the response data has 2,50 MB.
 
İs this a bug, or how can I deal with that?
 
(I am using the latest APP42AS3SDK)
 
Thanks,
asked Jun 8, 2014 in App42 Cloud API-BaaS by Tufan (64 points)
edited Jun 8, 2014 by Tufan

1 Answer

0 votes

Hi Tufan ,

Sorry for late the reply.  

It is a known issue . We will fix this at  the end of the month and update this thread .

 

Thank You!!

answered Jun 9, 2014 by samita.mahajan (60 points)
Hi Samita,

is there any progress on this? I need this to be fixed because when there is so many message, it slows app down...

thanks,
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...