// record stuff like
     if (isset($_GET['id'])) {
         $id = $_GET['id'];
         require_once PATH_FACEBOOK . "/classes/stuff.class.php";
         $stuffObj = new stuff($db);
         $code = $stuffObj->ajaxRecordLike($isSessionValid, $userid, $id);
     }
     break;
 case 'askRecordLike':
     // record question like
     if (isset($_GET['id'])) {
         $id = $_GET['id'];
         $mode = $_GET['mode'];
         require_once PATH_FACEBOOK . "/classes/ask.class.php";
         $askObj = new ask($db);
         $code = $askObj->ajaxAskRecordLike($isSessionValid, $mode, $userid, $id);
     }
     break;
 case 'ideaRecordLike':
     // record idea like
     //$db->log('inside ajax.php idearecordlike'.$userid.' - '.$_GET['id']);
     if (isset($_GET['id'])) {
         $id = $_GET['id'];
         require_once PATH_FACEBOOK . "/classes/ideas.class.php";
         $iObj = new ideas($db);
         $code = $iObj->ajaxIdeaRecordLike($isSessionValid, $userid, $id);
     }
     break;
 case 'ideaFetchBrowse':
     if (isset($_GET['tagid'])) {
         $tagid = $_GET['tagid'];