Flutter package to get Instagram user details and download reels videos.

How to Use

To use flutter_insta, first start by importing the package.
import 'package:flutter_insta/flutter_insta.dart';
Get profile details

FlutterInsta flutterInsta = new FlutterInsta();
await flutterInsta.getProfileData("coding_boy_); //instagram username
Print Details

print("Username : ${flutterInsta.username}");
print("Followers : ${flutterInsta.followers}");
print("Folowing : ${flutterInsta.following}");
print("Bio : ${flutterInsta.bio}");
print("Website : ${flutterInsta.website}");
print("Profile Image : ${flutterInsta.imgurl}");
print("Feed images":${flutterInsta.feedImagesUrl}");
Download Reels video
String downloadLink =  await flutterInsta.downloadReels("https://www.instagram.com/reel/CDlGkdZgB2y/"); //URL
Example

Click here for more Example

Image

Important Note

There is a limitation by Instagram, not sure how much but if you reach ‘X’ number of API call requests in an hour then you won’t get response data and you have to wait for some time, So during development avoid widget rebuild as much as possible. 🙂

Created by Viral Vaghela

GitHub

View Github