| 4 | 4 | Replies from the Hyves API can be returned in 4 formats. It is important to note that each format contains exactly the same information [http://en.wikipedia.org/wiki/XML XML], XMLP, [http://en.wikipedia.org/wiki/JSON JSON], and JSONP. The ha_format parameter specifies whether the format is either XML or JSON, by assigning it either "xml", or "json" (lowercase, without quotes). If the parameter ha_callback is present, the format becomes JSONP or XMLP. Basically, these formats are the same as the non-P variants, but call a javascript function provided in callback with the javascript object (JSONP) or the XML string (XMLP) as argument. This allows you to make cross-domain AJAX calls. |