diff -r 913c9751c067 -r 716254ccbcc0 org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-1FD5C597-43B8-402E-92B8-FE0787DB4F3B.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-1FD5C597-43B8-402E-92B8-FE0787DB4F3B.html Fri Mar 05 19:11:15 2010 -0800 @@ -0,0 +1,14 @@ + + +Retrieving STEW data

Retrieving STEW data

You can access Twitter through the REST (Representational State Transfer) API. To select the response format, change the file extension on almost any request URL to get results in that format. One of the supported formats is (JavaScript Object Notation) JSON, which is used in STEW.

+

STEW uses JSON (instead of XML, for example) because JSON text can easily be converted into JavaScript objects using the eval() function which invokes the JavaScript compiler. JSON is a subset of JavaScript, and therefore the compiler correctly parses the text and produces an object structure. For more information about JSON, see the JSON Web site. Requests are made to Twitter REST APIs by using the XMLHttpRequest object. XMLHttpRequest is a DOM API that can be used in JavaScript to transfer text data between a server and a browser.

+

Retrieving data from Twitter comprises the following tasks:

+ +
\ No newline at end of file