Created
December 12, 2015 09:57
-
-
Save shumbo/c0bcd31d54bcd15af543 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
angular.module('starter.controllers') | |
.controller('TwitterCtrl', function ($scope, $cordovaOauth) { | |
console.log("twitter"); | |
$cordovaOauth.twitter("uUYq3pK0DNqxCtoiuXvyXKWuV", "O6qxFeKYA1po2KaJUnCMCUJlJqxkYLSM8qxtUKOlJRqPy2An1c").then(function (result) { | |
console.log('success'); | |
console.log(result); | |
}, function (error) { | |
console.log('error'); | |
console.log(error); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment