First all, I'd like to thank you for the brilliant job for this easy-to-use OAuth implementation!
Everything works as expected except that when I tried to get some relatively long response (say:length=25637), XML will give me some data with either special character (diamond with a question mark in the center) or incorrect XML close tag which make simple_xml_reader throw an error. I also tried JSON response however, the following error message is shown:
"Error: it was not returned a valid JSON definition of the API call values".
On the other hand, those relatively short response is ok and can be parsed successfully.
My first guess was there is some server side encoding issue, however, I checked their api previewer and had the same parameter and it showed the correct response (Both XML and JSON).
I wonder if you have any suggestion to solve this problem?
Jinzhe Li - 2014-03-03 02:16:38 - In reply to message 1 from Jinzhe Li
The breakdown response size is between 15509 and 16331
Any response which is small than this threshold works fine whereas which is larger than this seems to have weird characters and incorrect closing tag for XML.
Jinzhe Li - 2014-03-03 05:25:26 - In reply to message 3 from Manuel Lemos
The sample code simply does the following things as an example:
1. Fetch the bank report summary first including the uid for each bank account. (Line 106 - Line 150)
2. After successfully obtaining the uid for each bank account, request for detailed transaction during the specified time frame. (Line 154 - Line 208)