Hi there, first post.
Is there an easy way to fetch media ID from URLs of own reels/stills from IG Business? My first supposedly light scenario is hitting an unexpected wall…
The input is watched spreadsheet with IG URLs, and I’m trying to get stills and reel previews from them to pass to claude or gpt4o eyes.
Please send over an example of what you are trying to pass over to help more. But yes using the substring function you can get only the part of the url that you want.
According to GraphAPI documentation, no.
Both post URL and reel URL contain only {media-shortcode}
- there is no method to extract {media-id}
from it.
Your goal could potentially be achieved with the oEmbed
endpoint, but it is restricted and available only after app review.
A workaround that comes to mind is to list media (using the List media module) and find the correct IDs by searching for Shortcode
values.
Welcome to the Make community!
A.
If you have the media shortcode (from the URL),
You can use this instagram243 endpoint on RapidAPI to get the media ID.
B.
If you have the full URL of the media,
You can use this instagram130 endpoint on RapidAPI to get the media ID.
How to call an API on RapidAPI
Use the HTTP “Make an API Key Auth Request” module.
Create a new keychain connection and insert your RapidAPI API Key.
Key: <YOUR_RAPIDAPI_KEY>
API Key parameter name: X-RapidAPI-Key
You can reuse this RapidAPI keychain for all API calls to RapidAPI, you’ll just need to change the X-RapidAPI-Host
value based on the API you are calling.
samliew – request private consultation
Join the Make Fans Discord server to chat with other makers!