InstaParser class

Constructors

InstaParser()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Static Properties

lastPhotoUrlsParsed Map<String, String>
read / write
lastPostsParsed List<String>
read / write
lastUserDataParsed Map<String, String>
read / write
lastVideoUrlParsed String
read / write

Static Methods

photoUrlsFromPost(String postUrl) Future<Map<String, String>>
Returns urls for small, medium and large size of photos if it's not from a private profile. Also saves it on lastPhotoUrlsParsed.
postsUrlsFromProfile(String profileUrl) Future<List<String>>
Returns the first 12 posts of a public Instagram profile and also saves it on lastPostsParsed.
userDataFromProfile(String profileUrl) Future<Map<String, String>>
Returns urls biography, followersCount, followingsCount, fullName, isPrivate, isVerified, profilePicUrl, profilePicUrlHd, username and postsCount. Also saves it on lastUserDataParsed.
videoUrlFromPost(String postUrl) Future<String>
Returns the video url of a post if it exists or empty string if it doesn't or the profile is private and also saves it on lastVideoUrlParsed.