Skip to content

Commit

Permalink
Update README.md - Proxy support
Browse files Browse the repository at this point in the history
Proxy support documentation
  • Loading branch information
oazais committed Oct 14, 2013
1 parent 488f644 commit 386b5e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,7 @@ var accessToken = FB.options('accessToken'); //will get the accessToken of 'XYZ'
The existing options are:
* `'accessToken'` string representing the facebook accessToken to be used for requests. This is the same option that is updated by the `setAccessToken` and `getAccessToken` methods.
* `'appSecret'` string representing the facebook application secret.
* `'proxy'` string representing an HTTP proxy to be used. Support proxy Auth with Basic Auth, embedding the auth info in the uri: 'http://[username:password@]proxy[:port]' (parameters in brackets are optional).
* `'timeout'` integer number of milliseconds to wait for a response. Requests that have not received a response in *X* ms. If set to null or 0 no timeout will exist. On timeout an error object will be returned to the api callback with the error code of `'ETIMEDOUT'` (example below).
`'scope'` and `'redirectUri'` have been whitelisted in options for convenience. These value will not be automatically
Expand Down

0 comments on commit 386b5e8

Please sign in to comment.