add_action('wp_ajax_test_api_credentials', 'test_api_credentials');
function test_api_credentials() {
$credentials = json_decode(get_option('dmca_solve_google_api_credentials'), true);
if (empty($credentials)) {
echo 'No API credentials provided.';
wp_die();
}
require_once plugin_dir_path(__FILE__) . 'google-api-php-client/src/Google_Client.php';
$client = new Google_Client();
$client->setAuthConfig($credentials);
try {
$client->fetchAccessTokenWithAssertion();
if ($client->getAccessToken()) {
echo 'API credentials are valid.';
} else {
echo 'Failed to authenticate with provided credentials.';
}
} catch (Exception $e) {
echo 'Error: ' . $e->getMessage();
}
wp_die();
}
Warning: Constant WP_DEBUG already defined in /home/fikfap/public_html/wp-config.php on line 88
Warning: Constant WP_DEBUG_LOG already defined in /home/fikfap/public_html/wp-config.php on line 89
Warning: Constant WP_DEBUG_DISPLAY already defined in /home/fikfap/public_html/wp-config.php on line 90
{"version":"1.0","provider_name":"Fikfap.com Tiktok Porn Onlytik Porno Tik Tok xxx Sex videos on Fikfap.mobi","provider_url":"https:\/\/fikfap.mobi","author_name":"Pornez","author_url":"https:\/\/fikfap.mobi\/author\/xxxx-porn-video-xyz\/","title":"Stepbrother Says “What the fuck is that!? I can see your pussy!!!” S7:E6","type":"rich","width":600,"height":338,"html":"
Stepbrother Says “What the fuck is that!? I can see your pussy!!!” S7:E6<\/a><\/blockquote>