So I'm totally new to this, but jsonp seemed so simple, I'm just trying to make a web app using dashcode. I need to put twitter json data on a page of my web app. This is what I tried.
I put this code in index.html
<script src="http://twitter.com/users/USERNAME.json?callback=handleResponse"/>
Then I created a javascript file
function handleResponse(responseJson){
alert(responseJson.status.text);
}
When I put the javascript file as the datasource I get an error saying it is not valid JSON or XML. As I said I am new to this, so I might be doing it completely wrong.