0

I am trying to extract JSON by opening this link but the web browser control doesn't render it. As in, if you open the above link in desktop browser, it will show you the JSON output but on IE control on Windows Phone it doesn't and instead it says it cannot find an app to open it.

I dont want to use WebClient since the Quora Login cookies/credential is stored in the web browser so I cant use WebClient as user cannot login then.

Please help, I am unable to find a solution. I want to extract the JSON output and then show the user the data.

2 Answers2

0

This is not a public API you are accessing. Quora prepends "while(1);" to the beginning of the JSON response so that if you do try and hijack it, then your application will not be able to parse it.

See: Why does Google prepend while(1); to their JSON responses?

Community
  • 1
  • 1
Adam
  • 41,349
  • 10
  • 58
  • 78
  • I am able to open the link on Chrome and Firefox, but not in IE control. –  Mar 08 '13 at 20:08
0

You cannot open the JSON for rendering in the Internet Explorer control on Windows Phone. You will have to download it and then take the appropriate actions.

Den Delimarsky
  • 16,235
  • 4
  • 41
  • 79
  • Hmm, but in order to download it, Quora needs login cookies which is stored in the IE web browser control! –  Mar 09 '13 at 11:41