diff -r 4d198a32ac7d -r d4809db37847 plugins/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/plugins/org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-1FD5C597-43B8-402E-92B8-FE0787DB4F3B.html Thu Aug 19 17:48:04 2010 -0700 @@ -0,0 +1,14 @@ + + +
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:
+ +