doRequest: function(action, rs, params, reader, callback, scope, options) { if (action == 'read') { FB.api('/me/events', function(data) { callback.call(scope, reader.readRecords(data), {}, true); }); } }