I am integrating cordova-twitter with oAuth and inAppBroser. I got accessTokenKey as well.I am not getting any err but I dont get data in alert(“Naeem:” + data.text); of success funtcion of url “https://api.twitter.com/1/account/verify_credentials.json?skip_status=true”.Below is my code snipet:
oauth.get(‘https://api.twitter.com/1/account/verify_credentials.json?skip_status=true’,
function (data) {
alert("Naeem:" + data.text);
var entry = JSON.parse(data.text);
console.log("TWITTER USER: " + entry.screen_name);
$("#welcome").show();
successfulLogin();
// alert("welcome " + entry.screen_name);
// Just for eg.
// app.init();
},
function (data) {
console.log("ERROR: " + data);
}
);
Kindly suggest.