Open rEnr3n opened 6 years ago
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.
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
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
?
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.
I only see the Video
and Picture
entries in my feed. The link you gave is a Picture
type not Story
.
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.
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/
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 🤷♂️
@rEnr3n Is this still an issue?
@rEnr3n ?
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)
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