Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70904

App crashes on using $cordovaOauth?

$
0
0

@abhi123 wrote:

I am using $cordovaOAuth.twitter() to authenticate twitter but every time I call this function my app crashes?

$scope.twitterLogin = function() {
        $scope.fbData = {};
        //$ionicLoading.show({ template: $translate.instant('Login.alertBox.text') });
        $cordovaOauth.twitter('Kp5RD2Szxo68XTCYjJj2Y', 'zfwUmlzjoDGGoipoE4Kxx7cBAKvzxDOM6y4t761oaTTllE').then(function(result) {
                console.log("rrr");
                    console.log(result);
                }, function(error) {
                    console.log("qqq");
                    console.log(error);
            });
}

This is my code when this code runs my app crashes.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70904

Trending Articles