criso/fbgraph — Issue #5: store access_token in session
Author: SamDecrock
Created: 2012-03-09 10:25:44+00:00
State: open

Hi,

Love the work you've done here, but it's a bit tricky because we have to store the access_token in a session:
```javascript
req.session.access_token = graph.getAccessToken();
```
And everytime the browser does some action, we have to pull the access_token from the session and set
```javascript
graph.setAccessToken(req.session.access_token);
```
Could you add an option to the graph.get function so that we can pass the access_token directly. eg:
```javascript
graph.get("/me", req.session.access_token, function(err, data) {
console.log(data);
});
```

Thx