Install is not yet implemented, I don't see anything on my web server logs when I install my app. Uninstall is working .
Here's what you get back from uninstall:
[oauth_consumer_key] => http://www.myspace.com/341711442
[oauth_nonce] => <secret>
[oauth_signature] => <secret>
[oauth_signature_method] => HMAC-SHA1
[oauth_timestamp] => 1204852123
[oauth_token] =>
[oauth_version] => 1.0
[opensocial_owner_id] => 7439663
[opensocial_viewer_id] => 7439663
You can see the variables by having php dump its output into a file:
<?php
$ob_file = fopen('callbacks.txt','a');
ob_start('ob_file_callback');
//Anything we output now will go to test.txt
print("Uninstall: ");
print_r($_REQUEST);
print("\n");
ob_end_flush();
echo "file written to...";
function ob_file_callback($buffer)
{
global $ob_file;
fwrite($ob_file,$buffer);
}
?>
All of those variables you see in the file can be accessed with $_REQUEST['varName']...
Once install works, I would use it to setup initial user information, and add to statistics by storing into a database.