Instagram Viewer

Instagram Profile Viewer

Save AccountLoad Feed

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Instagram Viewer</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            text-align: center;
            background-color: #f8f9fa;
        }
        .container {
            max-width: 600px;
            margin: 50px auto;
            padding: 20px;
            background: white;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
        }
        input {
            width: 80%;
            padding: 10px;
            margin: 10px 0;
            border: 1px solid #ddd;
            border-radius: 5px;
        }
        button {
            padding: 10px 20px;
            border: none;
            background-color: #007bff;
            color: white;
            cursor: pointer;
            border-radius: 5px;
        }
        button:hover {
            background-color: #0056b3;
        }
        .profile {
            margin-top: 20px;
        }
        .feed {
            margin-top: 20px;
        }
    </style>
</head>
<body>
    <div class="container">
        <h2>Instagram Profile Viewer</h2>
        <input type="text" id="username" placeholder="Enter Instagram username">
        <button onclick="saveProfile()">Save Account</button>
        <button onclick="loadFeed()">Load Feed</button>
        <div class="profile" id="profileData"></div>
        <div class="feed" id="feedData"></div>
    </div>

    <script>
        let savedAccounts = [];

        function saveProfile() {
            let username = document.getElementById("username").value;
            if (username && !savedAccounts.includes(username)) {
                savedAccounts.push(username);
                alert(username + " has been saved!");
            }
        }

        function loadFeed() {
            document.getElementById("feedData").innerHTML = "";
            savedAccounts.forEach(username => {
                document.getElementById("feedData").innerHTML += 
                    `<p>Fetching feed for <strong>${username}</strong>...</p>`;
                // Here you can integrate an API call to fetch posts, stories, and tagged content
            });
        }
    </script>
</body>
</html>
Shopping Cart