Advertisement
Guest User

Untitled

a guest
Jul 6th, 2015
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. $cordovaOauth.twitter(appConfig.TW_CLIENT_ID, appConfig.TW_SECRET).then(function(result) {
  2. // $localStorage.twitterToken = result.access_token;
  3. console.log(result);
  4. $location.path("/profile");
  5. }, function(error) {
  6. alert("There was a problem signing in! See the console for logs");
  7. console.log(error);
  8. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement