1. A direct room link
The /ar/room/general route opens the Arabic chat page for the general room; use /en/room/general for English. The visitor may still need to sign in or request access under the room policy.
HTML
<a href="https://chat.egytag.com/ar/room/general"
target="_blank" rel="noopener noreferrer">
افتح الغرفة العامة في Chat Live
</a>2. Build the URL safely
Validate the room slug before constructing a URL. A display title is not a slug; avoid accepting arbitrary remote URLs.
JavaScript
function chatRoomUrl(slug, language = 'ar') {
if (!/^[a-z0-9-]{1,80}$/.test(slug)) throw new Error('Invalid room slug');
const lang = language === 'en' ? 'en' : 'ar';
return `https://chat.egytag.com/${lang}/room/${slug}`;
}
// Navigate to the independent Chat Live app:
window.location.assign(chatRoomUrl('general'));3. Integration checklist
- Add an Open Chat button to your application.
- Select a slug obtained from public room discovery.
- Navigate to Chat Live in a tab or the same window.
- Let Chat Live apply its own sign-in and room-permission rules.
Security note
Do not put session cookies or tokens in URLs. Do not iframe the chat. The current platform explicitly prevents embedding on other origins.