I'm trying to migrate a custom reporting platform from Instagram's old API to the new Graph API ( https://developers.facebook.com/docs/instagram-api/reference/media/#metadata )
I have a database that has stored a few years worth of post data for reporting purposes and it holds the id of the post in the old format of xxxxxxxxxxxxxxxxxx_yyyyyyyy
.
The new Graph API returns two IDs id
and ig_id
. The ig_id
relates to the x part of the original ID above. The new Graph API doesn't allow you to query media by the ig_id
, only the id, so my question is - is there a way to convert the ig_id
to the id
or retrieve the id
from the ig_id
?