Ejemplo n.º 1
0
     } else {
         $value = "Missing argument";
     }
     break;
 case "delete_user":
     if (isset($_REQUEST["audience_phone"])) {
         $value = $api->delete_user($_REQUEST["audience_phone"]);
     } else {
         $value = "Missing argument";
     }
     break;
 case "create_table":
     $value = $api->create_table();
     break;
 case "create_videos_table":
     $value = $api->create_videos_table();
     break;
 case "initialize_videos":
     $value = $api->initialize_videos();
     break;
 case "create_db":
     $value = $api->create_db();
     break;
 case "oauth_call":
     if (isset($_REQUEST["method"]) && isset($_REQUEST["matchphrase"]) && in_array($_REQUEST["method"], $possible_method)) {
         $value = $api->oauth_call($_REQUEST["method"], $_REQUEST["matchphrase"], $_REQUEST["audience_phone"]);
     }
     break;
 case "setup":
     $value = $api->setup();
     break;