mayank
11 years agoAce
Lithium API to create a module to get the 3 most recent posts on other server
Lithium API to create a module to get the 3 most recent posts on other site
- 11 years ago
You will need to traverse the response object to find out the data you want
Examples:
success: function(data) { var resp = data.response; alert("Response status is: " + resp.status); alert("Response messages: " + resp.node_message_context.message.length); alert("First message subject : " +resp.node_message_context.message[0].subject.$); }
Of course the above are merely examples and should not be used in production - but it gives you an idea.