How to download instagram story without login in php

5.3k Views Asked by At

I'm going to download Instagram story and highlights without login in Laravel. have you any idea? tnx for helping

2

There are 2 best solutions below

4
On

You could use the Instagram-API (composer require mgp25/Instagram-API) if you want to build something from scratch, or you could use an existing project like:

Example (based on Insta-story)

Gets the story of the user you select in the form (i.e. $_POST['username']) and will echo it out.

<?php
require_once 'class.instagram.php';
if (isset($_POST['submit'])) {
    $story = new instagram_story();
    $story->getStory($_POST['username']);
}
?>
<div id="center" style="text-align: center; margin-top: 300px;">
    <form action="" method="post">
        <input name="username">
        <input type="submit" name="submit">
    </form>
</div>
0
On

I don't think Instagram will allow that without an account

https://www.instagram.com/developer/authentication/

If you have found some documentation stating otherwise let me know a maybe I can suggest how to integrate that into laravel