Accessing Opera Unite content through AJAX?

Forums » General Opera topics » Opera Unite

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

26. April 2010, 17:42:28

elyon

Posts: 4

Accessing Opera Unite content through AJAX?

Hey guys,

I need a little help figuring out how to access my content from Opera Unite. Basically I want to use AJAX to pull my content, but since the page is password protected, I'm in a little over my head in terms of figuring out how to get it to work. I basically want to create a widget which access my audio library, but I just want to be able to browse and pull the MP3 paths or M3U paths to play the files directly, rather than leaving it in the browser.

Could anyone help me at least point me in the right direction?

Here's the most recent code I tried, though its returning back as failed:

this.url = "http://(myurl)";

var params = { "unite-action": "Yusef_plugins_acl.unlock", "unite-nonce": "n-381614393ea121af07755b48731b163476ae6c08", "unite-servicePathHash": "a4f535fc1866ae2ef2371e0a3252dd06f0c339f7", "a4f535fc1866ae2ef2371e0a3252dd06f0c339f7password": "1bcd" }

this.fetchRequest = new Ajax.Request (this.url, { method: "post", 	evalJSON: "false", parameters: params, onSuccess: this.fetchData_onSuccess.bind (this), onFailure: this.fetchData_onFailure.bind (this) 	});

Forums » General Opera topics » Opera Unite