This project is read-only.

Tracking data with new Facebook Request Dialog

Jun 10, 2011 at 12:00 PM

Hey Guys,

I'm hoping to implement a facebook app that uses the Facebook Graph Toolkit, allowing the user to send invites to their friends via Request.Dialog.

I know you can use Facebook_Graph_Toolkit.Dialog.GetAppRequestUrl to create the url for the user to click which takes them to the friend invite screen.

However, according to the facebook graph API documentation (, you can send optional data along with the request to provide additional tracking.

"Optional, additional data you may pass for tracking. This will be stored as part of the request objects created."

FB.ui({method: 'apprequests', message: 'You should learn more about this awesome game.', data: 'tracking information for the user'});

The question I wanted to ask is, can Facebook Graph Toolkit handle this optional tracking data in Request.Dialog?

If that is possible, how can I specify the tracking data and obtain it when the invited user click on "Accept" in his invite?

Many Thanks!