3

I get some information facebook api and i will parse with Json.But when run the program i am getting org.json.JSONException: End of input at character 0 of error. When i debug i see "Bad Request" to response.

Do you have any idea?

edorian
  • 38,542
  • 15
  • 125
  • 143
DuyguK
  • 4,250
  • 9
  • 33
  • 46

1 Answers1

4

You are probably getting a blank response. Its not null but the response is empty. So you are getting this error and not a Nullpointer exception.

check for some proxy issues. Is the url exposed on the internet?

  • in my caser url work fine in browser but not in android can you tell what s mistake –  Dec 27 '14 at 07:44