Issue with omited ‘IG Story ID number’ and findMediaId()
Opened this issue · 0 comments
Main issue: When you visit a user’s profile and click on the user’s story, instagram omits the ‘IG Story ID number’ from the URL (in the case that a user just has 1 story posted). If the user has multiple stories posted, you can navigate one story forward and one in reverse and now the first story url has the ‘IG Story ID number’ in the URL.
In the case that you are browsing stories from your main timeline feed, all stories, even of users with just 1 story posted, will have the ‘IG Story ID’ populated as part of the URL. Downloading Stories from main timeline feed continues to work as intended.
Expectation of user IG Story URL with just one story:
https://www.instagram.com/stories/sometestuser/3242792923564360989
Actual IG Story URL due to recent IG change (omits the ‘IG Story ID number’):
https://www.instagram.com/stories/sometestuser/
What this breaks:
findMediaId() is expecting to match on the story URL with the ‘IG Story ID number’ as part of the URL. This will no longer match, and execution continues thinking this is a ‘IG Post’ instead of a ‘IG Story’.