Public Instagram profile and posts.
When to use
- User asks about a public Instagram handle: bio, follower / following count, post count, profile pic
- They want recent posts from that handle
YouTube is hasdata-youtube. TikTok is hasdata-tiktok. Facebook is hasdata-facebook. X and LinkedIn have no dedicated tool here; use hasdata-scrape on a public profile URL only for those two.
How to fetch
- If a HasData tool is connected, call the one whose name contains
instagram_profileorinstagram_posts. Read its schema. Passhandlewithout an @ sign. Do not run a shell command when the tool exists. Do not call a tool whose name containsinstagram_comments; that tool is not part of the connector this plugin ships. - If no HasData tool is connected, ask the user to press Connect on the HasData connector for this chat. Do not install software and do not ask them to paste an API key.
- Use the
hasdatacommand only when the connector cannot be connected and the binary is already on PATH.
CLI fallback
hasdata instagram-profile --handle "hasdatadotcom" --pretty -o .hasdata/ig-hasdata.json
The handle must not include an @ sign. Only public profiles are supported.
See also
- hasdata-youtube
- hasdata-tiktok
- hasdata-facebook
- hasdata-scrape — X and LinkedIn public pages only