Skip to content

Instantly share code, notes, and snippets.

@pc035860
pc035860 / request_fb_token.js
Created July 3, 2012 03:01
Facebook connect for Windows 8 metro style apps
/**
* Ask user for facebook connect & get the accesstoken
*
* @param {Object} options
* @param {Function} callback
* @param {Function} error_handler (optional)
**/
function requestFbToken (options, callback, error_handler) {
options = _extend({
appId: null,