Usage Guide
This section provides detailed descriptions of all the ways aiograpi can be used. If you are new to aiograpi, the
Getting Started page provides a gradual introduction of the basic functionality with examples.
Public vs Private Requests
Public(anonymous request via web api) methods have a suffix_gql(InstagramGraphQL) or_a1(examplehttps://www.instagram.com/example/?__a=1)Private(authorized request via mobile api) methods have_v1suffix
The first request to fetch media/user is public (anonymous), if instagram raise exception, then use private (authorized).
Detailed Sections
- Index
- Getting Started
- Interactions
Media- Publication (also called post): Photo, Video, Album, IGTV and ReelsResource- Part of Media (for albums)MediaOembed- Short version of MediaAccount- Full private info for your account (e.g. email, phone_number)User- Full public user dataUserShort- Short public user data (used in Usertag, Comment, Media, Direct Message)Usertag- Tag user in Media (coordinates + UserShort)Location- GEO location (GEO coordinates, name, address)Hashtag- Hashtag object (id, name, picture)Collection- Collection of medias (name, picture and list of medias)Comment- Comments to MediaHighlight- HighlightsStory- StoryStoryLink- Link (Swipe up)StoryLocation- Tag Location in Story (as sticker)StoryMention- Mention users in Story (user, coordinates and dimensions)StoryHashtag- Hashtag for story (as sticker)StorySticker- Tag sticker to story (for example from giphy)StoryBuild- StoryBuilder return path to photo/video and mention co-ordinatesDirectThread- Thread (topic) with messages in Direct MessageDirectMessage- Message in Direct MessageInsight- Insights for a postTrack- Music track (for Reels/Clips)
- Best Practices
- Development Guide
- Handle Exceptions
- Exceptions