Closed minimedj closed 9 years ago
You need to pass a FacebookAppRequestsParams object to the openRequestDialog method, are you doing that?
No... Because function call accept no parameters... Can you please tell what I have to pass as a param?
It should accept two parameters, as you can see in the docs: http://docs.airnativeextensions.com/facebookapi/docs/
An example would be
var params:FacebookAppRequestParams = new FacebookAppRequestParams();
params.app_id = "your facebook app id"
params.message = "The request message";
FacebookAPI.service.openRequestsDialog( params, requestDialogResultHandler );
Can you try this?
Thank you for you tip. Tomorrow morning this is first thing to try!
Everything work as expected. Please add detailed description for requestDialogResultHandler
into your docs. I did manage to handle it, but other might have troubles with it.
When I run this code (iOS):
I get:
What could be a reason? I check examples you provide that there is nothing about
FacebookAPI.service.openRequestsDialog()
. Please help me to resolve this issue.