-
HD
star_rate
star_rate
star_rate
star_rate
star_rate
-
HD
star_rate
star_rate
star_rate
star_rate
star_rate
-
HD
star_rate
star_rate
star_rate
star_rate
star_rate
-
HD
star_rate
star_rate
star_rate
star_rate
star_rate
-
HD
star_rate
star_rate
star_rate
star_rate
star_rate
فحص يوزر انستجرام
تحقق من يوزر انستجرام
===================
import express from "express";
import fetch from "node-fetch";
const app = express();
const PORT = 3000;
app.get("/check/:username", async (req, res) => {
const username = req.params.username;
try {
const response = await fetch(`https://www.instagram.com/${username}/`, {
headers: { "User-Agent": "Mozilla/5.0" }
});
if (response.status === 200) {
res.json({ exists: true, username });
} else {
res.json({ exists: false, username });
}
} catch (error) {
res.json({ error: "Connection error" });
}
});
app.listen(PORT, () => {
console.log(`✅ Server running on http://localhost:${PORT}`);
});