Meme_Api icon indicating copy to clipboard operation
Meme_Api copied to clipboard

[bug][question]How to get response with no image?

Open J3ndra opened this issue 5 years ago • 4 comments

When I try to get response from API, I got no response with error 400 (r/darkjokes]

image

Here's the subreddit

J3ndra avatar Aug 30 '20 11:08 J3ndra

Hey @J3ndra, at the current state of the API, you can only get images from the subreddits. It is just returning the image link and the post title, but for subreddits like that, we will have to return the description as well which would hinder the current implementation.

I didn't realize people were using the API on text subreddits. If more people request it then we could create a separate endpoint for text-based posts.

D3vd avatar Sep 09 '20 09:09 D3vd

@R3l3ntl3ss thanks for the info, but there are many subreddits that didn't contain any image. it can be good if there is a endpoint for subreddit without image.

J3ndra avatar Sep 09 '20 11:09 J3ndra

Cool. Thanks for the request. I will work on it when I got the time. Will keep this issue open until then.

D3vd avatar Sep 09 '20 13:09 D3vd

Any updates on this? I think it would be useful

Jacob-MC avatar Apr 20 '21 07:04 Jacob-MC