saimon24 / ng-twitter

AngularJS library for the Twitter REST Api
http://devdactic.com/
53 stars 12 forks source link

How can i pass cliendId and clientSecret id if i am not using ionic framework like cordova #10

Open vmnikhil opened 8 years ago

vmnikhil commented 8 years ago
 $cordovaOauth.twitter(clientId, clientSecret).then(function (succ) {
        $twitterApi.configure(clientId, clientSecret, succ);
      }, function(error) {
        console.log(error);
    });

I saw this syntax to pass clientId and clientSecret id for ionic framework.How can i pass them if iam not using any ionic frameworks?

cyborg92 commented 7 years ago

Even i would like to know the solution for this. I want to use this wrapper for handling twitter part in my angular JS app