/**
int fb_sig_user The uid of the person who is uninstalling your application (e.g. 609143784)
string fb_sig_session_key The session_key originally given to your application for the user who is uninstalling the application. This parameter did not appear in the latest requests.
string fb_sig_api_key The api_key of your application that is being uninstalled.
int fb_sig_added n/a
string fb_sig
*/
private function getContext(FacebookRestClient $client, RingsideSocialSession $network_session)
{
$api_key = $client->api_key;
$session_key = $client->session_key;
$uid = $client->users_getLoggedInUser();
$social_session_key = $network_session->getSessionKey();
$names = $client->users_getInfo($uid, "first_name");
$name = $names[0];
$user_name = trim($name['first_name']);
return "fb_sig_user={$uid}&user_name={$user_name}&fb_sig_api_key={$api_key}&fb_sig_session_key={$session_key}&social_session_key={$social_session_key}";
}