Tweet jsOauth request_token


#1

code:

   var options = {
        consumerKey: "myConsumerKey",
        consumerSecret: "myConsumerSecret",
        requestTokenUrl: "https://api.twitter.com/oauth/request_token",
        authorizationUrl: "https://api.twitter.com/oauth/authorize",
        accessTokenUrl: "https://api.twitter.com/oauth/access_token",
        callbackUrl:"myCallbackUrl"
    };

    var requestParams;
    var accessParams;
    var oauth = OAuth(options);

    oauth.get('https://api.twitter.com/oauth/request_token',
            function (data) {

                console.dir(data);

                window.open('https://api.twitter.com/oauth/authorize?' + data.text);

                requestParams = data.text

            },
            function (data) {
                alert('darn');
                console.dir(data)
            });

problem: the response’s properties is empty

how can I resolve the issue


#2

You’ll need to bring this up with the authors of the library - unfortunately we can’t support third party client library code.