Skip to main content

Get id by share

Get media id by share code (for links like https://www.instagram.com/share/BA384x3Dn6).

Params​

NameTypeDefaultDescription
share (required)string–Share code

Usage​

from rocketapi import InstagramAPI


instagram_api = InstagramAPI(token="your-api-key")
print(instagram_api.get_media_id_by_share("BA384x3Dn6"))

Response example​

Loading...