0

I get the JSON of User Info from Facebook on Android. And then send the JSON to my servlet (the platform is GAE).

My question is how to send it properly. Since the JSON could be very long. So far, I have tried this way. But I cannot receive the entire JSON. It always throws

Unterminated string at character 117 of {"music":{"data":[{"created_time":"2011-05-23T16:47:21 0000","id":"176345129540","category":"Musician/band","name":"

And I print the JSON, I find that the JSON is just as above which is been cut.
Thanks in advance.

Community
  • 1
  • 1
cht
  • 367
  • 2
  • 5
  • 19
  • Do you mean the JSON of User Info from Facebook? I use Facebook Android SDK. http://developers.facebook.com/docs/sdks/ – cht Jul 25 '11 at 10:36

1 Answers1

0

There might be a limit on the size of data you can send by Http GET, take a look at this question and rewrite your request to use Http POST.

Community
  • 1
  • 1
Karl-Bjørnar Øie
  • 5,374
  • 22
  • 30