Permalink
Browse files

Added more description to readme.md

  • Loading branch information...
1 parent 76d3205 commit 5b00e24a734f2f569c72b48d1166b8ce04851459 @kr1zmo committed Dec 15, 2012
Showing with 8 additions and 3 deletions.
  1. +8 −3 readme.md
View
@@ -22,14 +22,19 @@ var instance = FB({
#instance methods
+parseSignedRequest returns a value
```
.parseSignedRequest();
```
+getAccessToken takes a callback
```
-.getAccessToken();
+.getAccessToken([optional-signedRequest-string], [callback(err, resp)]);
```
+api takes a api method, requestjs object and callback.
```
-.api();
-```
+.api([api-method], [object], [callback(err, resp)]);
+```
+
+The object in the second parameters allows valid options using the requirejs framework https://github.com/mikeal/request#requestoptions-callback (note: extra feature is https: true).

0 comments on commit 5b00e24

Please sign in to comment.