Blackberry Twitter getting a pop up when getting request_token


I am developing a phonegap based Blackberry app, in this I have twitter share feature.I have written code for getting request_token from twitter using oauth, I am getting a pop up saying that:Content at requires authentication. Please enter username and password. This is not an expected functionality. Instead of this, I need to get request_token and open Twitter login page in a childbrowser but I don’t know why I am getting this pop up? Please help me.Code I am using is as follows:
oauth = OAuth(options);
function(data) {
requestParams = data.text;
{ showLocationBar : false });
function(data) {
alert(‘Error : No Authorization’);
console.log("AppLaudLog: 2 Error " + data);
$(’#oauthStatus’).html(‘Error during authorization’);