パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v0.1.2

insta_public_api

パブリックユーザーのInstagram詳細情報を取得するためのプラグインです。InstaPublicApiクラスにユーザー名を渡すだけで、必要な情報を取得できます。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
21
いいね数
22
Pub ポイント
140

パッケージをインストール

flutter pub add insta_public_api

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

insta_public_api パッケージは、ユーザー名を指定することで、公開されているInstagramユーザーの詳細情報を取得できるFlutterプラグインです。Instagramの公開データとの統合を簡単にするもので、認証なしにプロフィール情報(バイオ、フォロワー数、メディアなど)にアクセスできます。使いやすさを重視しており、Android、iOS、Web、macOS、Windows、Linuxなど複数のプラットフォームをサポートしています。表示や分析目的で公開Instagramプロフィールに迅速にアクセスしたいアプリに最適です。

用途

  • 公開のInstagramユーザー・プロフィールを取得する
  • アプリでInstagramの統計情報を表示する
  • ソーシャルメディアダッシュボードの構築
  • ユーザープロファイル検索ツール
  • パブリックアカウントからのコンテンツの集約

主な機能

  • 簡単なユーザー名ベースの検索
  • 複数のプラットフォームをサポートしています
  • 認証は不要です
  • 軽量で統合が簡単
  • 構造化されたユーザー情報を返す

適している対象

  • ソーシャルメディア分析アプリ
  • プロフィールプレビュー機能
  • クロスプラットフォームのFlutterアプリ
  • パブリックなInstagramデータを必要とするアプリ
  • 迅速なAPI統合を求める開発者

注意事項

  • パブリックなInstagramプロフィールでのみ動作します
  • 公開利用可能なデータに限定
  • Instagramのパブリックページ構造に依存しています
  • Instagram がフロントエンドのレイアウトを変更した場合、動作しなくなる可能性があります
  • 個人アカウントや機密データには適していません

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Insta Public API

Fetch details of a public Instagram account just by entering their username

// Import the package
import 'package:insta_public_api/insta_public_api.dart';

// Initialize with username (must be public)
final ipa = InstaPublicApi('username');

// Get info like Full Name, Followers, Following etc
final info = await ipa.getBasicInfo();

print('Posts: ${info.noOfPosts}');
print('Followers: ${info.followers}');
print('Following: ${info.following}');

/*
  Basic Info contains:
    isPrivate,
    isVerified,
    profilePic,
    followers,
    following,
    fullName,
    noOfPosts,
    bio and more.
*/

// Get a List of Post with nested images and details eg. number of likes, comments, caption etc for first 12 posts.
final timelinePosts = await ipa.getTimelinePosts();

// Get List of all the posts present on the profile (by default limited to 100, can be modified)
final posts = await ipa.getAllPosts();

/*
  Each Post Contains:
    Nested images,
    no. of comments,
    no. of likes,
    captions and more.
*/

Example App

Example App
Click Here for Code

Currently Available Methods

  • String getProfilePic() returns image url of profile pic

  • BasicInfo getBasicInfo() returns fullName, followers, following etc.

  • List<String> getTimelinePostsImages() returns a List of imageUrl for first 12 posts.

  • List<Post> getTimelinePosts() returns Post with nested images and details e.g. number of likes, comments, caption etc of first 12 posts.

  • List<Post> getAllPosts() returns List of all the posts present on the profile (by default limited to 100, can be modified).

Inspired from this article

カテゴリー

依存関係

依存関係一覧 1 件

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。