Thuzi/facebook-node-sdk — pull request #7 by nmcquay (2012-05-25 06:13:11+00:00)
Title: Adding options method which includes the ability to set a timeout period

This pull request is updated with the merge of the other error pull request, if you want to handle that one first.

I added the options method the way you described, and added the ability to pass a string to get back a specific property
```js
//sets just the timeout option to 2 seconds
FB.options({timeout: 2000});
//sets just the accessToken option to 'XYZ'
FB.options({accessToken: 'XYZ'});

//returns the options object
var options = FB.options();
//returns just the timeout property of the options object
var timeout = FB.options('timeout');

//unset both the timeout and accessToken options
FB.options({timeout: 0, accessToken: null});
```

I also went through and updated the rest of the code to use the options method as the main getter/setter for the accessToken.

The options method will only set properties for keys that are defined in the opts variable. So users won't be able to set garbage keys. I also left a spot for appId and appSecret, but it doesn't currently do anything.

I also updated the docs explain some of the `option()` stuff. Let me know if there are any remaining issues.