Skip to content

Instantly share code, notes, and snippets.

@paulshen
Created December 11, 2014 19:32
Show Gist options
  • Save paulshen/dd023f582d9506c0b3dd to your computer and use it in GitHub Desktop.
Save paulshen/dd023f582d9506c0b3dd to your computer and use it in GitHub Desktop.
window.fbAsyncInit = function() {
// Fix in Parse's date parser
var _parseDate = Parse._parseDate;
Parse._parseDate = function(str) {
return new Date(Date.parse(str));
};
Parse.FacebookUtils.init({
appId : '123', // Facebook App ID
version : 'v2.0'
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment