搜索插件、代码仓与 APP 分类

flutter_insta 封面
插件详情v1.0.1

flutter_insta

Flutter 包,用于获取 Instagram 用户详细信息,例如个人资料图片 URL、粉丝数量、关注人数、简介、网站以及下载 Reels 视频。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
265
喜欢数
198
Pub 分数
130

安装插件

flutter pub add flutter_insta

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

Flutter_insta 是一个 Flutter 包,可帮助开发者获取 Instagram 用户信息,例如头像 URL、粉丝数量、关注数量、个人简介和网站。它还支持直接从 Instagram 下载 Reels 视频。该包专为跨多个平台的无缝集成而设计,简化了在 Flutter 应用中获取社交媒体数据的过程。该包是开源的,由 codingboy.in 维护,便于社区贡献和自定义。

适合场景

  • 获取Instagram用户个人资料
  • 显示用户统计信息
  • 下载Instagram短视频
  • 将社交媒体数据集成到应用程序中
  • 构建Instagram分析工具

主要特点

  • 获取个人资料详情
  • 获取关注者和关注人数
  • 提取生物和网站信息
  • 下载短视频
  • 跨平台支持(Android、iOS、Web、macOS、Windows、Linux)

适合对象

  • 社交媒体应用
  • 用户资料仪表板
  • 内容聚合工具
  • Reels下载器
  • 开发者原型

使用建议

  • 需要有效的 Instagram 账户访问权限
  • 可能受Instagram API变更的影响
  • 仅限公开资料
  • 潜在的速率限制
  • 未获得 Instagram 官方支持

原始 README

以下为关联源码仓库的 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

所属分类

依赖

依赖清单 1 项

源码仓库

使用此插件的项目

暂无相关数据。