v1.0.1flutter_insta
Flutter 套件,用於取得 Instagram 使用者詳細資料,例如個人檔案圖片網址、粉絲數量、關注人數、簡介、網站以及下載 Reels 影片。
198喜歡 285近 30 天下載130Pub 分數
AndroidiOSWebmacOSWindowsLinux
用於取得 Instagram 使用者詳細資料和下載 Reels 影片的套件。
{"sdk":"flutter"}^0.13.3{"sdk":"flutter"}以下為英文專案原文快照,最新內容請造訪 GitHub。
Flutter package to get Instagram user details and download reels videos.
import 'package:flutter_insta/flutter_insta.dart';
FlutterInsta flutterInsta = new FlutterInsta();
await flutterInsta.getProfileData("coding_boy_"); //instagram username
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}");
String downloadLink = await flutterInsta.downloadReels("https://www.instagram.com/reel/CDlGkdZgB2y/"); //URL
Image
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