Parsing twitter JSON

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Parsing twitter JSON

Postby patrwest » Sat Sep 19, 2009 8:06 pm

I am just learning to program for Android and I wanted to play around with web services. I am trying to grab the public twitter timeline.

I am using the JSONObject class but it doesn't seem to recognize the outer []'s. I replaced them with {} as the JSONObject expects a { as the first character.

I am not getting this error:
Code: Select all
09-19 14:03:24.985: WARN/System.err(806): org.json.JSONException: Expected a ':' after a key at character 1128 of ...


I can't see anything wrong at that point, has anyone else had success with grabbing twitter feeds using JSONObject?
patrwest
Once Poster
Once Poster
 
Posts: 1
Joined: Sat Sep 19, 2009 7:49 pm

Top

Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 2 guests