FLUTTER ECOSYSTEM

viralvaghela/flutter_insta

用於取得 Instagram 使用者詳細資料和下載 Reels 影片的套件。

flutter_insta 專案封面
Stars
63
Forks
43
最近推送(UTC)
2023年1月1日
專案狀態
未封存
Viral Vaghela GitHub avatar
GITHUB User

Viral Vaghela ↗

Red Teaming | Security Researcher | Tech Geek | Developer |

Security Researcher127.0.0.1官方網站 ↗
語言C++CMakeDartHTMLCSwiftJavaKotlinObjective-C

技術主題

此儲存庫發佈的套件

使用的依賴

依賴清單 3 項
  • flutter{"sdk":"flutter"}
  • http^0.13.3
  • flutter_test開發依賴{"sdk":"flutter"}

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

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