How to use Diffbot API with jQuery and JavaScript

Sample Code
        function callDiffBotApi() {
            var targetUrl = $("#targetUrlTxt").val();
            var token = $("#tokenTxt").val();
            var fields = $("#fieldTxt").val();

                url: "",
                data: {
                    token: token,
                    url: targetUrl,
                    fields : fields
                success: function (data) {
                error: function (data) {
                    $("#result").html("Ok Some think didnt worked out.");
Put in target URL in the text bax below and click "Call Diffbot" button
Expect some result here -