kogg / hovercards

HoverCards is a chrome extension that lets you see what's behind links from youtube, twitter, reddit, soundcloud, imgur, & instagram — all with out ever leaving the web page you're currently on.
http://hovercards.com
228 stars 33 forks source link

Reddit image integration #26

Closed marcomarandiz closed 8 years ago

marcomarandiz commented 8 years ago

Are we able to find the source of the image without have an API key? #hax0r

saiichihashimoto commented 8 years ago

Possibly, but then we'd be doing work that we would just undo the moment they have an actual API, since they're likely to be doing that.

marcomarandiz commented 8 years ago

Okay. How much work would that be?

The way I see it is that imgur and reddit image uploads are basically tied in relevance on reddit. By just waiting indefinitely we are choosing not to capitalize on an opportunity to provide a better experience - which could be the tipping for some users.

Story: airbnb didn't wait for craigslist to open their API. They just integrated, and it was rough, but it gave them a leg up. If every person who has the reddit app on their phone and uploads a photo is going to make an i.reddit.com photo, we should support that IMO.

saiichihashimoto commented 8 years ago

I have no idea. I'm not sure it's possible. Just looking at two of their types of urls:

https://i.redd.it/2ydqg06hme9x.jpg

https://i.reddituploads.com/1b82dfe31233481baf97f4e9d85e916a?fit=max&h=1536&w=1536&s=d237775b19ae2c71ef8fd7ec3d0db6a0

I have no idea what I can glean from those urls at all. You could just expand the image...? At that point, it has no reason being specific to reddit images specifically. It could just expand images like imagus does but also give reddit comments on it if we can find the url posted on reddit.

marcomarandiz commented 8 years ago

Let's put a pin in it for now.