ng-twitter
ng-twitter copied to clipboard
How can i pass cliendId and clientSecret id if i am not using ionic framework like cordova
$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?
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