Giter VIP home page Giter VIP logo

instagramdownloader's Introduction

TenetUp-InstagramDownloader

this package use for download video and image from Instagram

NOTE: These instructions are for the latest version of Laravel.

License

JetBrains

Installation

  1. Install the package via Composer:

    $ composer require tenetup/instagram-downloader

Example

    $instagramDownloader = new instagramDownloader('https://www.instagram.com/p/CTR5ES4LkU2/');
    dd($instagramDownloader->getDetail());

sample response

{
  "message": "success",
  "data": [
    {
      "image": "https://instagram.fevn1-3.fna.fbcdn.net/v/t51.2885-15/e35/240942751_1260224711085176_6182056288303936206_n.jpg?_nc_ht=instagram.fevn1-3.fna.fbcdn.net&_nc_cat=108&_nc_ohc=4ejatrmd9gEAX8ua1Xf&edm=APU89FABAAAA&ccb=7-4&oh=64cd3e45c4b1f89f56200b3beb59a5ae&oe=613C4E85&_nc_sid=86f79a",
      "contentURL": "https://instagram.fevn1-3.fna.fbcdn.net/v/t51.2885-15/e35/240942751_1260224711085176_6182056288303936206_n.jpg?_nc_ht=instagram.fevn1-3.fna.fbcdn.net&_nc_cat=108&_nc_ohc=4ejatrmd9gEAX8ua1Xf&edm=APU89FABAAAA&ccb=7-4&oh=64cd3e45c4b1f89f56200b3beb59a5ae&oe=613C4E85&_nc_sid=86f79a",
      "isVideo": false
    },
    {
      "image": "https://instagram.fevn1-1.fna.fbcdn.net/v/t51.2885-15/e35/240947331_2649935818642930_8159513102084948940_n.jpg?_nc_ht=instagram.fevn1-1.fna.fbcdn.net&_nc_cat=110&_nc_ohc=SQ-fpaDd08QAX_Ej8CV&edm=APU89FABAAAA&ccb=7-4&oh=921168464ea7e25d7910c7784ed1a470&oe=613D4CA3&_nc_sid=86f79a",
      "contentURL": "https://instagram.fevn1-1.fna.fbcdn.net/v/t51.2885-15/e35/240947331_2649935818642930_8159513102084948940_n.jpg?_nc_ht=instagram.fevn1-1.fna.fbcdn.net&_nc_cat=110&_nc_ohc=SQ-fpaDd08QAX_Ej8CV&edm=APU89FABAAAA&ccb=7-4&oh=921168464ea7e25d7910c7784ed1a470&oe=613D4CA3&_nc_sid=86f79a",
      "isVideo": false
    },
    {
      "image": "https://instagram.fevn1-2.fna.fbcdn.net/v/t51.2885-15/e35/240942933_522573639036303_4486886847428510560_n.jpg?_nc_ht=instagram.fevn1-2.fna.fbcdn.net&_nc_cat=103&_nc_ohc=I_j9XuAzySYAX_ujRt3&edm=APU89FABAAAA&ccb=7-4&oh=fc288f63684d9b885328ef4a52877231&oe=613C6A72&_nc_sid=86f79a",
      "contentURL": "https://instagram.fevn1-2.fna.fbcdn.net/v/t51.2885-15/e35/240942933_522573639036303_4486886847428510560_n.jpg?_nc_ht=instagram.fevn1-2.fna.fbcdn.net&_nc_cat=103&_nc_ohc=I_j9XuAzySYAX_ujRt3&edm=APU89FABAAAA&ccb=7-4&oh=fc288f63684d9b885328ef4a52877231&oe=613C6A72&_nc_sid=86f79a",
      "isVideo": false
    },
    {
      "image": "https://instagram.fevn1-1.fna.fbcdn.net/v/t51.2885-15/e35/240990654_625932278387894_7820318320394560603_n.jpg?_nc_ht=instagram.fevn1-1.fna.fbcdn.net&_nc_cat=102&_nc_ohc=Off8oyW8w-QAX-lw5mE&edm=APU89FABAAAA&ccb=7-4&oh=233668cf8e653797701242bd4f955af1&oe=613D8BDB&_nc_sid=86f79a",
      "contentURL": "https://instagram.fevn1-1.fna.fbcdn.net/v/t51.2885-15/e35/240990654_625932278387894_7820318320394560603_n.jpg?_nc_ht=instagram.fevn1-1.fna.fbcdn.net&_nc_cat=102&_nc_ohc=Off8oyW8w-QAX-lw5mE&edm=APU89FABAAAA&ccb=7-4&oh=233668cf8e653797701242bd4f955af1&oe=613D8BDB&_nc_sid=86f79a",
      "isVideo": false
    },
    {
      "image": "https://instagram.fevn1-3.fna.fbcdn.net/v/t51.2885-15/e35/240892687_4306552179431333_415137314335917993_n.jpg?_nc_ht=instagram.fevn1-3.fna.fbcdn.net&_nc_cat=105&_nc_ohc=l1SxOWAZajgAX8sLBqZ&edm=APU89FABAAAA&ccb=7-4&oh=1204f4fd9c2cb9a490aee2f51171d7c6&oe=613DB45C&_nc_sid=86f79a",
      "contentURL": "https://instagram.fevn1-3.fna.fbcdn.net/v/t51.2885-15/e35/240892687_4306552179431333_415137314335917993_n.jpg?_nc_ht=instagram.fevn1-3.fna.fbcdn.net&_nc_cat=105&_nc_ohc=l1SxOWAZajgAX8sLBqZ&edm=APU89FABAAAA&ccb=7-4&oh=1204f4fd9c2cb9a490aee2f51171d7c6&oe=613DB45C&_nc_sid=86f79a",
      "isVideo": false
    },
    {
      "image": "https://instagram.fevn1-2.fna.fbcdn.net/v/t51.2885-15/e35/241019545_386536389527515_5706791301670676094_n.jpg?_nc_ht=instagram.fevn1-2.fna.fbcdn.net&_nc_cat=107&_nc_ohc=uxzEwrPbd8MAX9y5X6R&edm=APU89FABAAAA&ccb=7-4&oh=555db4c2b1f80287ae92f348c441cf91&oe=613C3265&_nc_sid=86f79a",
      "contentURL": "https://instagram.fevn1-2.fna.fbcdn.net/v/t51.2885-15/e35/241019545_386536389527515_5706791301670676094_n.jpg?_nc_ht=instagram.fevn1-2.fna.fbcdn.net&_nc_cat=107&_nc_ohc=uxzEwrPbd8MAX9y5X6R&edm=APU89FABAAAA&ccb=7-4&oh=555db4c2b1f80287ae92f348c441cf91&oe=613C3265&_nc_sid=86f79a",
      "isVideo": false
    }
  ],
  "code": 200
}
{
  "message": "incorrect url",
  "data": null,
  "code": 403
}

Copyright and License

TenetUp-InstagramDownloader was written by majid behzadnasab , pooria noruzi and is released under the MIT License.

Copyright (c) 2021 TenetUp Company

instagramdownloader's People

Contributors

mbehzad-bhz avatar

Watchers

 avatar

Forkers

miladamini7

instagramdownloader's Issues

Facade root has not been set

I keep getting the following stack trace error when attempting to run the code shown in your Read Me file. Any fixes suggested?

[08-Sep-2021 11:46:00 America/New_York] PHP Fatal error: Uncaught RuntimeException: A facade root has not been set. in /home/user/website/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php:258
Stack trace:
#0 /home/user/website/Test.php(43): Illuminate\Support\Facades\Facade::__callStatic('get', Array)
#1 /home/user/website/Test.php(17): instagramDownloader->getDetail()
#2 {main}

Code causing error.

require DIR . '/vendor/autoload.php';

$instadownloader = new instagramDownloader('https://www.instagram.com/p/CTf6Hung_TL/?utm_source=ig_web_copy_link');
dd($instadownloader->getDetail());

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.