You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This problem was confirmed with https://i.imgur.com/BAiuZQl.jpg. When you visit the imgur page at https://imgur.com/BAiuZQl there is a title for the image, including in the <title> tag. However, the "image" API response has "title": null. There is another API endpoint for "subreddit gallery image" that does have a title set (and which corresponds to that in the HTML response).
My best guess is that this is some kind of integration that is pulling data from reddit at some point. So far I haven't found anything in the "image" response that unambiguously suggests there might be a better response for "subreddit gallery image" (unless "section" is only used for subreddit images), but it looks like any arbitrary subreddit name can be used, so it might be worth just making the second call if the first one has no title.
This problem was confirmed with https://i.imgur.com/BAiuZQl.jpg. When you visit the imgur page at https://imgur.com/BAiuZQl there is a title for the image, including in the
<title>
tag. However, the "image" API response has"title": null
. There is another API endpoint for "subreddit gallery image" that does have a title set (and which corresponds to that in the HTML response).My best guess is that this is some kind of integration that is pulling data from reddit at some point. So far I haven't found anything in the "image" response that unambiguously suggests there might be a better response for "subreddit gallery image" (unless
"section"
is only used for subreddit images), but it looks like any arbitrary subreddit name can be used, so it might be worth just making the second call if the first one has no title."Image" API response (https://api.imgur.com/3/image/BAiuZQl):
"Subreddit gallery image" response (https://api.imgur.com/3/gallery/r/ProgrammerHumor/BAiuZQl):
The text was updated successfully, but these errors were encountered: