Created
June 9, 2015 15:34
-
-
Save frankV/319d2a74261485526e40 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
$cordovaOauth.twitter(appConfig.TW_CLIENT_ID, appConfig.TW_SECRET).then(function(result) { | |
// $localStorage.twitterToken = result.access_token; | |
console.log(result); | |
$location.path("/profile"); | |
}, function(error) { | |
alert("There was a problem signing in! See the console for logs"); | |
console.log(error); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment