freshplanet/ANE-Facebook — pull request #108 by loonychewy (2013-11-14 03:51:14+00:00)
Title: Added frictionless request option to iOS

Frictionless request is described in more details here: https://developers.facebook.com/blog/post/569/

Testing:
1. Send a facebook request as such: _facebook.dialog("apprequests", { title: "Test", message:"Frictionless request", to:""});
2. The facebook request dialog should appear, with the option "Don't ask again before sending requests to ... from this app". Check this option and send the request.
3. Send another request to the same recipient. The request dialog should not appear this time, but the recipient should still receive the request.
4. Send the request to another recipient. The request dialog should appear because this recipient is not in the frictionless request cache.

Notes:
1. The frictionless request list is stored on the Facebook server per user per friend per app. There isn't anyway to reset it as far as I know. So once a request has been sent frictionlessly to a friend, it will always be frictionless.

Android notes:
1. On Android, frictionless requests can be enabled without any native code changes. Just pass in the parameter "frictionless":"1", i.e.:
_facebook.dialog("apprequests", { title: "Test", message:"Frictionless request", to:"", "frictionless":"1"});