Skip to content

Instantly share code, notes, and snippets.

@dominickm
Created August 21, 2012 02:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dominickm/3410896 to your computer and use it in GitHub Desktop.
Save dominickm/3410896 to your computer and use it in GitHub Desktop.
A simple user creation / login sample with Parse on
public void yourMagicalMethod() {
Parse.initialize(this,"pID" "pKEY");
ParseFacebookUtils.initialize("fbId");
ParseFacebookUtils.login(this, new LoginInCallback() {
@Override
public void done(Parse user, ParseException err) {
// your awesome logic
}
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment