How to get the Request ID when user click on Facebook Apprequest notification and launch my app.

Hi,

I have sent a “challenge me” apprequest to my friend from my app on Facebook.

My friend phone got a notification from Facebook and see the apprequest which is sent my me.

He click on the notification and launch my app.

However, how can I know the RequestID of the notification so that I can handle it properly?

With the native Android, I can do in this way as said by Facebook.

https://developers.facebook.com/docs/android/app-link-requests/

Uri intentUri = getActivity().getIntent().getData();

if (intentUri != null) {
String requestIdParam = intentUri.getQueryParameter(“request_ids”);
if (requestIdParam != null) {
String array[] = requestIdParam.split(",");
requestId = array[0];
Log.i(TAG, "Request id: "+requestId);
}
}

May I know how can I do that same thing in Corona? Thanks.