Wikidepia / InstaFix

Fix Instagram embeds in Discord (and Telegram!)
MIT License
669 stars 40 forks source link

Posts are failing to load #26

Open jessiemay1993 opened 1 year ago

jessiemay1993 commented 1 year ago

When providing a link to an Instagram reel, link will try to load the reel, but will ultimately fail. InstaFix InstaFix2

I have also found in some cases it won't even attempt to load a reel at all even though the service says that it is currently running.

ianw11 commented 1 year ago

I am also seeing reels failing to embed (into Discord)

Wikidepia commented 1 year ago

Yea, it is #25 I will try to find solution today

FionaShine commented 1 year ago

Have a same problem. Posts are failing to load, appears just a link. Discord and Instagram was updates, but problem continue.

rafitamolin commented 1 year ago

@Wikidepia ddinstagram.com as of today just throws a ERR_CONNECTION_REFUSED error

Wikidepia commented 1 year ago

@Wikidepia ddinstagram.com as of today just throws a ERR_CONNECTION_REFUSED error

Should be fixed, I forgot to start caddy. Thanks for the report!

AccountNameIsTaken commented 1 year ago

+1, also seeing this issue. Thanks so much for your hard work on this! I really appreciate the embed preventing me from having to go to that abysmal site!

alzedd commented 1 year ago

Still getting connection refused today

Noshtzy commented 1 year ago

It's dead Jim

kpopdev commented 1 year ago

for this https://www.ddinstagram.com/p/Cuy8B3EpfFR/ it says Sorry, this post isn't available.

GeorgeWL commented 1 year ago

Now seeing that the text embeds, but the media does not

kpopdev commented 1 year ago

@Wikidepia this is a video but it shows a image https://www.ddinstagram.com/p/CukuY42N70s/

sirkostya009 commented 1 year ago

@Wikidepia I believe the issue with absent media preciews could be related to too long texts. Try limiting the amount of chars a preview can have. Cause every post with a gazilion of hastags doesnt have video while those with just one sentence do.

Wikidepia commented 1 year ago

@Wikidepia I believe the issue with absent media preciews could be related to too long texts. Try limiting the amount of chars a preview can have. Cause every post with a gazilion of hastags doesnt have video while those with just one sentence do.

Yeah, that might be it. I forgot to add description limit to image post. Thanks!

FionaShine commented 1 year ago

I'm not sure if this is related, today the problem recurred. Thanks for InstaFix!

sirkostya009 commented 1 year ago

@FionaShine is there a chance you had an igshid param in the link? @Wikidepia sometimes links with igshid param don't have previews as well. Like this one: https://www.ddinstagram.com/reel/Cu9xZyRN3db/?igshid=MzRlODBiNWFlZA==. And removing the param doesn't help either.

Update on the link: the vid seems to have properly loaded in discord but still doesn't work in tg

Wikidepia commented 1 year ago

Video embed is a bit fragile at the moment, i am still finding solution

azgoodaz commented 1 year ago

Screenshot 2023-08-25 081111

alexjyong commented 1 year ago

Not too sure what is going on.

image

Reels just hang on my dev instance (with no code changes)

standard photos work with my local server, but not with ddinstagram

image

Logs if it helps

INFO:     10.240.0.199:0 - "GET /reel/Cw0dotTLPqd/?igshid=MzRlODBiNWFlZA== HTTP/1.1" 200 OK
Cw0dotTLPqd
INFO:     10.240.0.10:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.2.100:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.4.100:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
INFO:     10.240.2.255:0 - "GET /grid/CwwPcpqrGVp HTTP/1.1" 200 OK
Cw0dotTLPqd
INFO:     10.240.1.75:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.3.196:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.2.255:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.1.190:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.1.190:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.3.217:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.1.75:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.3.217:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.3.196:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.1.190:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.1.190:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.0.10:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.1.81:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.1.190:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.1.81:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.1.190:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.1.81:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.2.100:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.1.75:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.0.10:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.3.217:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.0.10:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.2.255:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.2.100:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.3.196:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.3.217:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.3.217:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.4.100:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.4.100:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.3.196:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
INFO:     10.240.3.196:0 - "GET /grid/CwwPcpqrGVp HTTP/1.1" 200 OK
Cw0dotTLPqd
INFO:     10.240.3.196:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.2.255:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.1.81:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.1.81:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.2.255:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.3.217:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.3.196:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.0.10:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.4.100:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.1.81:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.0.10:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.3.217:0 - "GET /reel/Cw0dotTLPqd/ HTTP/1.1" 200 OK
Cw0dotTLPqd
INFO:     10.240.1.75:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.3.217:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.3.217:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.3.196:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.4.100:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.1.190:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.1.75:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.0.10:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.3.217:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.2.255:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.2.100:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.1.81:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.0.10:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.1.81:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.2.100:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.3.196:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.1.190:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.1.190:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.2.255:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found
Cw0dotTLPqd
INFO:     10.240.1.75:0 - "GET /videos/Cw0dotTLPqd/1 HTTP/1.1" 302 Found

Any idea @Wikidepia ?

Wikidepia commented 1 year ago

standard photos work with my local server, but not with ddinstagram

Not sure why but sometimes Instagram showed post not found when it is actually exist

Reels just hang on my dev instance (with no code changes)

IG rate limited speed for videos so it will hang for a while, you can use proxy like https://github.com/Wikidepia/InstaFix-proxy to bypass it

itsmostafa75 commented 1 year ago

standard photos work with my local server, but not with ddinstagram

Not sure why but sometimes Instagram showed post not found when it is actually exist

Reels just hang on my dev instance (with no code changes)

IG rate limited speed for videos so it will hang for a while, you can use proxy like https://github.com/Wikidepia/InstaFix-proxy to bypass it

I have the same problem and the Instagram post could not be downloaded in Telegram. How should we use this proxy that you introduced? Can we normal users also use this feature or do we need a personal server?