flutter_insta 1.0.1
flutter_insta: ^1.0.1 copied to clipboard
Flutter package to get instagram user's details such as profile picture url,number of followers,following,Bio,website and download reels video.
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';
copied to clipboard
Get profile details
FlutterInsta flutterInsta = new FlutterInsta();
await flutterInsta.getProfileData("coding_boy_); //instagram username
copied to clipboard
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}");
copied to clipboard
Download Reels video
String downloadLink = await flutterInsta.downloadReels("https://www.instagram.com/reel/CDlGkdZgB2y/"); //URL
copied to clipboard
Example
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