Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $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);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement