Question: I read this [article](https://stackoverflow.com/questions/7832533/request-dialog-using-facebook?answertab=votes#tab-top).

So, I tried it and I put a number in the data property.

```
FB.ui({
    method: 'apprequests',
    message: 'Come join me and play at MyWebSite!',
    data: '12345',
    redirect_uri: 'myWebSite'
});

```

I get the `request_ids`, but how do I get the data part (the 12345 number)?.

Answer: 
on server side, you can do something like:(using php here)

```
$request_ids = $_GET['request_ids'];
$request_ids = explode(",", $request_ids);
foreach($request_ids as $request_id)
    {
        $request_object = $facebook->api($request_id);
         if(isset($request_object['data'])) $req_data = $request_object['data']; //$req_data will be '12345' as per your request data set.
       // after getting the data, you may like to delete the request.
           $full_request_id = $request_id."_".$fbid; //$fbid is current user facebook id
          $facebook->api("$full_request_id","DELETE");
     }

```
Did you try Facebook's documentation too?

<https://developers.facebook.com/docs/requests/> has more documentation; if a `data` parameter was added in the call to the requests dialog, the same value should also be there when requesting the Request details via the API (i.e. a call to `/REQUEST_ID`)