패키지, 저장소 및 앱 카테고리 검색

패키지 상세v0.1.2

insta_public_api

공개 사용자의 인스타그램 세부 정보를 얻기 위한 플러그인입니다. 단순히 InstaPublicApi 클래스 내에 사용자 이름을 전달하고 필요한 세부 정보를 얻으세요.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
21
좋아요
22
Pub 점수
140

패키지 설치

flutter pub add insta_public_api

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

insta_public_api 패키지는 사용자 이름을 제공함으로써 공개된 인스타그램 사용자 정보를 가져올 수 있는 플러터 플러그인입니다. 인스타그램의 공개 데이터와의 통합을 간소화하며, 인증 없이 프로필 정보(소개글, 팔로워 수, 미디어 등)에 접근할 수 있습니다. 사용이 쉬운 설계로 Android, iOS, 웹, macOS, Windows, Linux 등 여러 플랫폼을 지원합니다. 표시 또는 분석 목적을 위해 공개 인스타그램 프로필에 빠르게 접근해야 하는 앱에 적합합니다.

사용 사례

  • 공개 Instagram 사용자 프로필 가져오기
  • 앱에서 인스타그램 통계 표시
  • 소셜 미디어 대시보드 구축
  • 사용자 프로필 조회 도구
  • 공개 계정에서의 콘텐츠 집약

주요 기능

  • 간단한 사용자 이름 기반 검색
  • 다수의 플랫폼을 지원합니다
  • 인증 필요 없음
  • 경량이며 통합이 쉬움
  • 구조화된 사용자 데이터를 반환합니다

적합한 대상

  • 소셜 미디어 분석 앱
  • 프로필 미리보기 기능
  • 크로스 플랫폼 플러터 앱
  • 공개 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 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.