// Validate XC credentials first const testUrl = `http://$xcServer:$xcPort/player_api.php?username=$xcUsername&password=$xcPassword&action=user_info`; const testResponse = await axios.get(testUrl);
This public link is valid for 7 days and shares a thread, including any personal information you added. This link or copies made by others cannot be deleted. If you share with third parties, their policies apply. Can’t copy the link right now. Try again later. xc api playlist link
Imagine a user has curated the perfect "Road Trip" mix. They want to send it to a friend. The friend shouldn't have to log in to the user's account to see it. // Validate XC credentials first const testUrl =
const generatedLink = `$req.protocol://$req.get('host')/api/playlist/$linkId.$outputFormat`; Can’t copy the link right now
The simplest way is to ask your IPTV service provider for the XC API credentials. They will provide you with the three essential components:
Always serve the playlist link over HTTPS and consider implementing time-limited tokens instead of plaintext passwords for production environments.
Your XC API link allows a limited number of simultaneous connections (usually 1 to 5). Sharing your login details will result in your stream getting blocked or your account suspended.