> One of the features I > would like to have is to list a user's direct messages in a sidebar or > something. I would really like to use the json feed to get the data, > and have some javascript parse and display it. The problem is that > this request requires a POST and HTTP Authentication, ... > ...Likewise, I cannot create an AJAX request (from jquery or > some such library) for "http://twitter.com/direct_messages.json" > because that runs into the cross-site request restriction.
I am still kind of new to JS (I mostly use PHP) but I have used Mootools to make POST requests from a JS script to other sites (and my own) so I am not sure about this "cross-site" restriction if you are simply posting data from a JS page. I thought that problem only applied to cookies.