Class fsw.request
Request module. Sends app requests.
Defined in: fsw.0.2.0.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<static> |
fsw.request.send(opts, callback)
Send an app request to a specific friend, or to several friends.
|
Method Detail
<static>
fsw.request.send(opts, callback)
Send an app request to a specific friend, or to several friends.
Note that this module does not address server-side handling of app requests.
- Parameters:
- {Object} opts
- {String} opts.message
- Request message
- {String} opts.to Optional
- A FBID or FB user name to send the request to. Must be a friend of the user.
- {String} opts.data Optional
- Data to send along with the request. Better explanation TK.
- {Function} callback Optional
- Function to call after user sends or cancels post. Returns null on user cancel, request id on user send.