Reddit Provider does not support `media` submissions anymore
📜 Description
When I tried to attach a video to a Reddit post, the post is still made, but the video is not added to the post. Furthermore, the Subreddit settings only allow for "Post" or "Link", but no "Media".
👟 Reproduction steps
- Click on "Create New Post" - this should lead to a "Edit Post" dialog
- Click on an existing Reddit Channel - the dialog window will split into two, showing the Reddit preview on the right side
- Enter some text into the "Write your reply..." text box
- Click on "Insert Media" - the "Media Library" dialog will pop up
- Upload a goofy looking picture of your self
- Select the uploaded picture and close the dialog
- Click on "Settings" in the right hand window
- Click on "Add Subreddit"
- Search for a Subreddit of which you know that they support images - e.g. "/r/test" - and select it
- See that there are only "Post" and "Link" sections
- Add text to the "Title" input
- Hover over the "Add Calendar" button to reveal the "Post now" entry and click it
- Go to reddit and see that your post has no picture embedded
👍 Expected behavior
There should be either an option for "Media" or the image should be embedded in the post
👎 Actual Behavior with Screenshots
No image is visible in the Reddit post
💻 Operating system
Linux
🤖 Node Version
20.17
📃 Provide any additional context for the Bug.
There was code in the Reddit provider library which would add the media permission, but it got removed last year - maybe this was done by accident?
You can find it at https://github.com/gitroomhq/postiz-app/blob/c8d93aed8874de9312a47fb3f32281318b61aa03/libraries/nestjs-libraries/src/integrations/social/reddit.provider.ts#L268
The commit: https://github.com/gitroomhq/postiz-app/commit/515d6413b27aab9448cf3c4596d75e5f0cb68ec3#diff-d4e8614e0ae8ef83c4e30077446225c4787096f8d80518189b68c7d0cf8886b6
👀 Have you spent some time to check if this bug has been raised before?
- [x] I checked and didn't find similar issue
Are you willing to submit PR?
~Yes I am willing to submit a PR!~ No, I wasn't able to set up my dev environment and gave up
I'm able to reproduce this issue- I'm not able to post on Reddit with attached media and there are no Javascript console errors nor server errors related to this issue.
This appears to be a regression, @nevo-david can you confirm? Also, can you confirm the expected behavior?
Would be awesome to get this fixed. Can confirm, media is not being posted with the post
Can confirm as well, Reddit was one of the main platforms I want to use this for only to find out it doesn't work.
Hi, I am also going through the same problem right now and would need it to be fixed, as Reddit has new filters that are filtering out imagehosting services like imgur.
@dikobay , @Speedy242 , @patach, its kinda frustrating to me to see that there is a new comment on the issue I created, only to see its just another "yeah, same" comment. I imagine it is also inconvenient for the maintainers who have to go through such comments when they work on the issue.
I believe it is standard practice nowadays to just leave a 👍 at the original issue post. This way the maintainer can also see how "popular" an issue is without having to look through all the comments by just sorting by reactions in the issue overview.
This issue is stale because it has been open for 90 days with no activity.
This issue is stale because it has been open for 90 days with no activity.
Well, then here is an activity - not stale.