项目作者: viralvaghela

项目描述 :
Package to get details of the Instagram user and download reels video.
高级语言: Dart
项目地址: git://github.com/viralvaghela/flutter_insta.git
创建时间: 2020-07-25T06:02:45Z
项目社区:https://github.com/viralvaghela/flutter_insta

开源协议:MIT License

下载


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

How to Use

To use flutter_insta, first start by importing the package.
  1. import 'package:flutter_insta/flutter_insta.dart';
Get profile details
  1. FlutterInsta flutterInsta = new FlutterInsta();
  2. await flutterInsta.getProfileData("coding_boy_"); //instagram username
Print Details
  1. print("Username : ${flutterInsta.username}");
  2. print("Followers : ${flutterInsta.followers}");
  3. print("Folowing : ${flutterInsta.following}");
  4. print("Bio : ${flutterInsta.bio}");
  5. print("Website : ${flutterInsta.website}");
  6. print("Profile Image : ${flutterInsta.imgurl}");
  7. print("Feed images":${flutterInsta.feedImagesUrl}");
Download Reels video
  1. 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