rss-bridge icon indicating copy to clipboard operation
rss-bridge copied to clipboard

[Instagram] Stories not listed

Open rEnr3n opened this issue 7 years ago • 10 comments

I updated my url to the new parameter. I'm just getting the normal posts not stories.

?action=display&bridge=Instagram&u=jessica.syj&media_type_u=all&format=Atom

rEnr3n avatar May 17 '18 05:05 rEnr3n

Does changing the media type from all to story work for you? Please also have a look at the latest master to continue using the previous parameter names.

logmanoriginal avatar May 29 '18 11:05 logmanoriginal

I pulled the latest commit and used the previous parameters. The stories are still not showing up.

?action=display&bridge=Instagram&u=jessica.syj&media_type=all&_cache_timeout=600&format=Atom

rEnr3n avatar May 30 '18 01:05 rEnr3n

That's strange, I see the stories on my machine. Based on your query this is the first story currently in the feed (second entry right now): https://www.instagram.com/p/BjRpeS0nQu7/

Do you receive any results when changing the media type to media_type=story?

logmanoriginal avatar May 30 '18 17:05 logmanoriginal

I tried that as well. Same thing.

Just for clarification, am I right to assume that Story is different from Video and Picture? As far as I know the Story entries can be found by clicking on the user's profile picture (the circular one). Video and Picture entries (the square ones) are located at the bottom.

screenshot_2018-05-31_10-05-19

I only see the Video and Picture entries in my feed. The link you gave is a Picture type not Story.

rEnr3n avatar May 31 '18 02:05 rEnr3n

The source code refers to three different types Video, Picture and Story (GraphSidecar): https://github.com/RSS-Bridge/rss-bridge/blob/064ba456e83dcd58b86fb7498aa07ca0497c1dd5/bridges/InstagramBridge.php#L57-L69

I actually downloaded the contents manually to see if the bridge works correctly and it looks perfectly fine to me. There are, however, multiple GraphSidecar in the JSON data. If I understand the story function correctly, there should only be one...

Maybe the bridge is still missing the correct field?

Than again I don't see any story icon right now, do you need to be logged in for this? In that case you are out of luck.

logmanoriginal avatar Jun 04 '18 19:06 logmanoriginal

IG stories can be accessed by clicking the user profile pic. And yes you need to login if you click there. They have expiration on them (24 hours I think). The link for the stories will still be alive but they are not available in the interface.

I thought IG stories are supported because of this: https://github.com/RSS-Bridge/rss-bridge/commit/8770c87389ffde62551e4a1a8923ded1c95b077a

These story links are available without logging in. I just don't know how they are extracted. https://www.instagram.com/p/Bjo7jcLFHpH/ https://www.instagram.com/p/Bjo8DyNlm_X/ https://www.instagram.com/p/Bjo8zZmFJUF/ https://www.instagram.com/p/Bjo9RYvlofN/

rEnr3n avatar Jun 05 '18 11:06 rEnr3n

I thought IG stories are supported because of this

This is what I thought as well, but it seems that your story and the stories captured by the bridge are different types of stories.

These story links are available without logging in. I just don't know how they are extracted.

Since they don't seem to be linked directly, I did a comparison of two profiles, one with story and the other without. The particular area around the profile picture is pretty much the same in both cases. The only difference is the class h5uC0 which turns the cursor into a pointer (if a story is available). The story itself seems to be loaded via JavaScript event which is located in a heavily obfuscated source file.

It's worth mentioning that IG heavily depends on JavaScript for page rendering. The raw HTML (about 250 lines) pretty much consists of one large JSON object and a few HTML tags (primarily meta data).

Unless someone has an idea how to proceed from here there is no way to extract your story links. That being said, maybe this is different when being logged in. Maybe you can have a look and see if you can find anything (I don't have an account). Right now there is nothing we can do to support stories unfortunately 🤷‍♂️

logmanoriginal avatar Jun 05 '18 17:06 logmanoriginal

@rEnr3n Is this still an issue?

dvikan avatar Mar 27 '22 00:03 dvikan

@rEnr3n ?

dvikan avatar Sep 12 '23 17:09 dvikan

Issue is still here. Just a rehash, I can't view the stories as a guest on a browser.

dev.2023-07-11 (git.master.0780917)

rEnr3n avatar Sep 13 '23 06:09 rEnr3n