// ============================================
if (!isset($country_slug) || !isset($countries_data[$country_slug])) {
header('Location: ' . SITE_URL . '/countries/index.php');
exit;
}
$country = $countries_data[$country_slug];
$region = $regions[$country['region_key']];
// Find the landing page data for this country (apply_link, qr_image)
$landing = null;
foreach ($country_landing_pages as $lp) {
// Match by country slug (handle 'uk' vs 'united-kingdom' mapping)
if ($lp['slug'] === $country['slug'] || ($country['slug'] === 'united-kingdom' && $lp['slug'] === 'uk')) {
$landing = $lp;
break;
}
}
// Fallback to region data if no landing page found
if (!$landing) {
$landing = array(
'slug' => $country['slug'],
'name' => $country['name'],
'flag' => $country['flag'],
'apply_link' => $region['apply_link'],
'qr_image' => $region['qr_image']
);
}
// Get hosts for this country
$country_hosts = array();
foreach ($top_hosts as $host) {
if ($host['country_slug'] === $country_slug) {
$country_hosts[] = $host;
}
}
// Sort by rank
usort($country_hosts, function($a, $b) {
return $a['rank_in_country'] - $b['rank_in_country'];
});
// Determine page slug for URLs (uk.php for united-kingdom)
$page_slug = $country['slug'];
if ($page_slug === 'united-kingdom') $page_slug = 'uk';
// Country-specific FAQs
$country_faqs = get_country_faqs($country['name'], $country['currency'], $country['is_vpn_required'], $country['region_key']);
// SEO setup
$page_title = $country['seo_title'];
$page_description = $country['seo_description'];
$page_keywords = 'tiktok live agency ' . strtolower($country['name']) . ', start nest ' . strtolower($country['name']) . ', tiktok live ' . strtolower($country['name']);
if ($country['is_vpn_required']) {
$page_keywords .= ', tiktok live vpn ' . strtolower($country['name']);
}
$og_image = $landing['qr_image'];
$og_type = 'website';
$canonical_url = SITE_URL . '/countries/' . $page_slug . '.php';
// FAQPage Schema
$faq_schema_items = array();
foreach ($country_faqs as $faq) {
$faq_schema_items[] = '{"@type":"Question","name":"' . clean($faq['q']) . '","acceptedAnswer":{"@type":"Answer","text":"' . clean($faq['a']) . '"}}';
}
$schema_extra = '
';
require_once '../includes/header.php';
require_once '../includes/navbar.php';
/**
* Generate country-specific FAQs
*/
function get_country_faqs($name, $currency, $is_vpn, $region_key) {
$faqs = array();
$faqs[] = array(
'q' => "How do I join Start Nest TikTok LIVE Agency in {$name}?",
'a' => "To join Start Nest in {$name}, click the apply link or scan the QR code on this page. You'll be redirected to TikTok to submit your application. After a 30-minute trial live, you'll be approved and can start earning immediately."
);
if ($is_vpn) {
$faqs[] = array(
'q' => "Do I need a VPN to go live on TikTok in {$name}?",
'a' => "Yes, TikTok LIVE is not directly available in {$name}. You need " . VPN_NAME . " (1 Year) which Start Nest provides at PKR " . number_format(VPN_PRICE) . ". This allows you to connect to a supported region and go live."
);
$faqs[] = array(
'q' => "Which VPN should I use for TikTok LIVE in {$name}?",
'a' => "Start Nest recommends and provides " . VPN_NAME . " — a paid, reliable VPN that works consistently with TikTok LIVE. Free VPNs are unstable and can get your account flagged."
);
} else {
$faqs[] = array(
'q' => "Do I need a VPN to go live on TikTok in {$name}?",
'a' => "No, you do not need a VPN to go live on TikTok in {$name}. TikTok LIVE is available directly and you can join Start Nest without any VPN setup."
);
}
$faqs[] = array(
'q' => "How do I withdraw earnings in {$name}?",
'a' => "In {$name}, you can withdraw your TikTok LIVE earnings in {$currency}. Payment methods available include the options listed on this page. Withdrawals are processed on a regular schedule once you meet the minimum threshold."
);
$faqs[] = array(
'q' => "How much can I earn on TikTok LIVE in {$name}?",
'a' => "Earnings depend on your live hours, consistency, and audience engagement. Top hosts in {$name} earn significantly through gifts and diamonds. Start Nest provides training and gifting bonuses (GALAXY and LION tiers) to help you maximize your earnings."
);
$faqs[] = array(
'q' => "Do I need followers to go live on TikTok in {$name}?",
'a' => "No! With Start Nest agency, you get zero-follower live access. You don't need 1,000 followers to go live. This is one of the biggest advantages of joining an agency versus going solo."
);
$faqs[] = array(
'q' => "What is the Start Nest agency joining process for {$name}?",
'a' => "The process is simple: 1) Click the apply link or scan the QR code, 2) Submit your application on TikTok, 3) Do a 30-minute trial live, 4) Get approved, 5) Start earning! The entire process takes about 24-48 hours."
);
return $faqs;
}
?>