RSS-Bridge / rss-bridge

The RSS feed for websites missing it
https://rss-bridge.org/bridge01/
The Unlicense
7.29k stars 1.03k forks source link

Help : Instagram not Working : Photo no found #1368

Open markimdev opened 4 years ago

markimdev commented 4 years ago

i use content from instagram to publish in my other social media account automatically by using Rss bridge and ifttt ... but it seems doesn't work anymore.

" it say : photo not found "

and when i try to Use direct image links " ifttt doesn't accept this Feed "

so can anyone know how to resolve this problem ?

BOUSNI22 commented 4 years ago

Please , we want a solution ! Thanks in advance

teromene commented 4 years ago

I cannot reproduce the error when using mrss feeds: ifttt accepts the feed. Are you using a different format ?

qpyman commented 4 years ago

We are using the Atom not the mrss feed!

BOUSNI22 commented 4 years ago

i use content from instagram to publish in my other social media account automatically by using Rss bridge and ifttt ... but it seems doesn't work anymore.

" it say : photo not found "

and when i try to Use direct image links " ifttt doesn't accept this Feed "

so can anyone know how to resolve this problem ?

did you find a solution ?

qpyman commented 4 years ago

here is a screenshot of the problem.

Capture d’écran 2019-11-22 à 13 44 46

BOUSNI22 commented 4 years ago

@qpyman brother we know the problem , we need a solution !

markimdev commented 4 years ago

here is a screenshot of the problem.

Capture d’écran 2019-11-22 à 13 44 46

For the first problem this is what we talking about .. photo no found

for the second one : Server of Mohammed cha had a problem in this week , it written there " there was a probel with rss feed service " not the script problem

and i'm working now to find a solution , if it work i will tell you guys

DIMAMAGHREB :p

BOUSNI22 commented 4 years ago

For the first problem this is what we talking about .. photo no found This is what i talked about @markimdev ! The moment when you find a solution , please share it with us asap

RAYAHAMRANEJMAKHADRA

teromene commented 4 years ago

So I investigated, and the problem seems to be coming from ifttt. The problem is probably that Instagram introduced new URLs for images, which contains the "&" character in order to pass parameters. RSS-Bridge successfully encodes this to "&", as the XML specification requires. It is possible that ifttt does not correctly decodes the "&" and therefore makes a request to an invalid location. Can you try changing this line to this:

. $enclosure

and see if it works (with direct image link enabled) ?

markimdev commented 4 years ago

So I investigated, and the problem seems to be coming from ifttt. The problem is probably that Instagram introduced new URLs for images, which contains the "&" character in order to pass parameters. RSS-Bridge successfully encodes this to "&", as the XML specification requires. It is possible that ifttt does not correctly decodes the "&" and therefore makes a request to an invalid location. Can you try changing this line to this:

. $enclosure

and see if it works (with direct image link enabled) ?

I change the line " . $this->xml_encode($enclosure) by . $enclosure " like you say .. but the rss doesn't anymore work , i it show this error => There was a problem with the RSS Feed service.

qpyman commented 4 years ago

https://github.com/RSS-Bridge/rss-bridge/issues/1368#issuecomment-557784778

same problem here!

ism33ail commented 4 years ago

I got the same problem !!

elyasse4 commented 4 years ago

is there any solution ?

teromene commented 4 years ago

I have raised the issue with IFTTT. I will keep you updated.

markimdev commented 4 years ago

I have raised the issue with IFTTT. I will keep you updated.

thank you for Help , We waiting for your help ASAP.

BOUSNI22 commented 4 years ago

@teromene we are waiting you brother , thank you in advance <3

teromene commented 4 years ago

What connector are you using for IFTTT ? I have done it with Instapaper and it seems to be working. Can you also share the instagram link you are using ?

@teromene we are waiting you brother , thank you in advance <3

That would be sister :smile:

markimdev commented 4 years ago

What connector are you using for IFTTT ? I have done it with Instapaper and it seems to be working. Can you also share the Instagram link you are using ?

We Don't Use Instagram , We use Rss Feed Applet to Pinterest applet by using Bridge Rss Script to have Atom Rss of Instagram content To post automatically from Instagram to pinterest ( we do that have more audience without hard working from pinterest Platform )

So The problem is like i say , in log .. the imageUrl is there but the ifttt say photo not found .. so we need the Help like adding something to script so ifttt know the image so they can publish it ...

elyasse4 commented 4 years ago

exactly as markimdev said we use the atom link directly with Ifttt to post on Pinterest but it seems that can't post pictures anymore for the first time the problem was just scraping images from usernames so we started using hashtags but now after some time even the hashtags doesn"t work anymore

qpyman commented 4 years ago

What connector are you using for IFTTT ? I have done it with Instapaper and it seems to be working. Can you also share the instagram link you are using ?

@teromene we are waiting you brother , thank you in advance <3

That would be sister 😄

here is an example of the link we are using for the RSS bridge: MYWEBSITE/?action=display&bridge=Instagram&u=INSTAGRAMID&media_type=picture&format=Atom

here is a screenshot of the problem:

Capture d’écran 2019-11-26 à 10 38 08

Zaakaria commented 4 years ago

Hey Guys, I have another question despite this problem, I downloaded the RSS bridge script from here and when I generate the RSS feed the format is like this https://www.EXAMPLE.com/?action=display&bridge=Instagram&context=Username&u=EXAMPLE&media_type=all&format=Atom but here I see the format that people generating like this https://www.EXAMPLE.com/?action=display&bridge=Instagram&u=EXAMPLE&media_type=all&format=Atom to make the difference more clear between these two formats is the first format contains " context=Username" and the second one doesn't have it, so my question is: is there's any difference between these two formats and does it affect the work of the RSS bridge? and another thing is when I put my link to IFTT they don't show me any problem but still the images don't show on Pinterest

Zaakaria commented 4 years ago

I check it out now and I found that I also have ' There was a problem with the RSS Feed service ', what's the solution for this problem guys as I downloaded the script from here

markimdev commented 4 years ago

So i Do some research and here is the problem: Ifttt can't know the image because Size imageis not there in imageURL Link .. i Compare my Older Rss ATOM Rss With the new one that we have Problem right now and the only thing isn't there is the /s1080x1080/ In UmageUrl .. So that the problem , Script doesn't Load the Default Size of image , so ifttt don't know the image and that's why it say "Photo no found "

See The picture to understand what i mean ...

Sans titre-1

Zaakaria commented 4 years ago

Guys Can someone please tell me how to fix 'There was a problem with the RSS Feed service' problem, I download and using the RSS bridge from here, I created an applet to send images from instagram hashtag to google drive and it did work, but for instagram users to pinterest I have the problem of 'There was a problem with the RSS Feed service' can someone please help me here

markimdev commented 4 years ago

Guys Can someone please tell me how to fix 'There was a problem with the RSS Feed service' problem, I download and using the RSS bridge from here, I created an applet to send images from instagram hashtag to google drive and it did work, but for instagram users to pinterest I have the problem of 'There was a problem with the RSS Feed service' can someone please help me here

This is what we try to solve from a week ago brother .. no solution right now

Zaakaria commented 4 years ago

Guys Can someone please tell me how to fix 'There was a problem with the RSS Feed service' problem, I download and using the RSS bridge from here, I created an applet to send images from instagram hashtag to google drive and it did work, but for instagram users to pinterest I have the problem of 'There was a problem with the RSS Feed service' can someone please help me here

This is what we try to solve from a week ago brother .. no solution right now

so does the 'There was a problem with the RSS Feed service' and 'no photo' problems are the same?

logmanoriginal commented 4 years ago

https://www.EXAMPLE.com/?action=display&bridge=Instagram&context=Username&u=EXAMPLE&media_type=all&format=Atom https://www.EXAMPLE.com/?action=display&bridge=Instagram&u=EXAMPLE&media_type=all&format=Atom is there's any difference between these two formats and does it affect the work of the RSS bridge?

There is no difference in behavior between these two formats. &context=Username is an optional parameter that hints the type of request to RSS-Bridge which is only important if the arguments are not obvious.

1361 was merged recently which made changes to images. Do you still have this issue with the latest master? (please provide a working query for testing)

Zaakaria commented 4 years ago

is there any solution yet guys?

logmanoriginal commented 4 years ago

See my previous post.

Zaakaria commented 4 years ago

I saw it but I didn't really understand it very much, can you please explain it more

Zaakaria commented 4 years ago

I saw that you said that #1361 is the solution to this problem right? but I didn't understand what I should and how can I use this solution?

logmanoriginal commented 4 years ago

Please try out the latest release (2019-12-01) from today. It includes #1361.

Zaakaria commented 4 years ago

should I download and use the new RSS bridge script instead of the old one?

logmanoriginal commented 4 years ago

Yes, please.

Zaakaria commented 4 years ago

I will try it. Thank you so much

Zaakaria commented 4 years ago

Unfortunately, the problem of 'There was a problem with the RSS Feed service.' is still there :(

ism33ail commented 4 years ago

Please try out the latest release (2019-12-01) from today. It includes #1361.

the problem is still there

here's an example of photos link "that gives BAD URL error" in the InstagramBridge Atom ;

https://scontent-atl3-1.cdninstagram.com/v/t51.2885-15/e35/75540326_2452688748383015_4052789348552908865_n.jpg?_nc_ht=scontent-atl3-1.cdninstagram.com&amp;_nc_cat=1&amp;oh=e43fee9376ff9dbcee1232cc8d9ead7e&amp;oe=5E750569

here's how the link should look like ..

https://scontent-atl3-1.cdninstagram.com/v/t51.2885-15/e35/75540326_2452688748383015_4052789348552908865_n.jpg?_nc_ht=scontent-atl3-1.cdninstagram.com&_nc_cat=1&oh=e43fee9376ff9dbcee1232cc8d9ead7e&oe=5E750569

the (amp;) should be removed from the link

black235 commented 4 years ago

Is the problem still there??

hamzatazi007 commented 4 years ago

Is the problem still there??

I download the new version and the problem is still there.

hamzatazi007 commented 4 years ago

Does anyone have a fix for this issue ? Please share.

logmanoriginal commented 4 years ago

Unfortunately, the problem of 'There was a problem with the RSS Feed service.' is still there :(

Thanks for checking anyway.

the (amp;) should be removed from the link

Actually, because Atom is based on XML the ampersand must be encoded like that. IFTTT needs to properly decode it on their end. @teromene mentioned this before:

The problem is probably that Instagram introduced new URLs for images, which contains the "&" character in order to pass parameters.

By the way, you can use the feed validator to check if your Atom feed is valid (there could be warnings though): https://validator.w3.org/feed/#validate_by_input

It seems IFTTT doesn't decode feeds properly. All links work fine in a browser. Here is my test query: ?action=display&bridge=Instagram&u=microsoft&media_type=all&format=Atom.

@teromene Did you get any feedback from IFTTT on this topic?

Zaakaria commented 4 years ago

The problem is still there if someone could remove the (;amp) as the guy said from the code it would be so great

Zaakaria commented 4 years ago

Unfortunately, the problem of 'There was a problem with the RSS Feed service.' is still there :(

Thanks for checking anyway.

the (amp;) should be removed from the link

Actually, because Atom is based on XML the ampersand must be encoded like that. IFTTT needs to properly decode it on their end. @teromene mentioned this before:

The problem is probably that Instagram introduced new URLs for images, which contains the "&" character in order to pass parameters.

By the way, you can use the feed validator to check if your Atom feed is valid (there could be warnings though): https://validator.w3.org/feed/#validate_by_input

It seems IFTTT doesn't decode feeds properly. All links work fine in a browser. Here is my test query: ?action=display&bridge=Instagram&u=microsoft&media_type=all&format=Atom.

@teromene Did you get any feedback from IFTTT on this topic?

can you make the photo link like the old format without the (;amp), if you can make it as the old format that the guy mentioned and it will work as well then it will worth a try please

teromene commented 4 years ago

Without the &amp;, the feed is invalid and is not accepted as well. To answer @LogMANOriginal 's question, I haven't got any answer yet. I will try to push to my branch tomorrow an alternative solution that kinda fixes this, but comes with non-negligible caveats

Zaakaria commented 4 years ago

@teromene thank you so much, we really need a solution for this problem and we've been stuck with it for a long time now

BOUSNI22 commented 4 years ago

![feed](https://user-images.githubusercontent.com/48819212/69999533-2b3e5780-1559-11ea-8bf9-303e3857efd5.PNG This feed does not validate. @teromene @LogMANOriginal

hamzatazi007 commented 4 years ago

finally i got the solution now working so good

Could you tell us the solution !!!

elyasse4 commented 4 years ago

Did you found sollution for the problem pictures not found or what ?

teromene commented 4 years ago

@BOUSNI22: That is because of the way the w3c validator makes the request. If you copy-paste the content, then it shows as valid

Zaakaria commented 4 years ago

a dude just came in and said 'finally i got the solution, now working so good' without telling us the solution and delete the comment after, just WOW