Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposed behaviour for bug #457 #508

Closed
wants to merge 5 commits into from

Conversation

IBBoard
Copy link
Contributor

@IBBoard IBBoard commented Jan 29, 2016

Here's my proposed fix for bug #457. It only removes Twitter links (because that's what Twitter does) and it prioritises Twitter media over external links and only loads 3rd party images if there is no Twitter media (because that's what Twitter does - see https://twitter.com/YorksWildlife/status/693132495122989056, which links to Flickr but has a Twitter image, not a Flickr card).

I think this balances the problem of removing URLs from the middle of tweets (especially when Flickr images are web pages with comments, etc) against the problem of duplicating images, while still loading plenty of media.

This is basically what Twitter does with its "cards" (Flic.kr links
remain but the card shows the image).

The only issue so far is if someone uses IFTTT or similar to auto-
post Flickr photos. IFTTT puts the Flickr URL in *and* uploads the
photo to Twitter, which results in us seeing it twice.
This compromise means we don't see different images when a user links
to one image and uploads a different one (we only see the upload) BUT
it means that we don't get duplicate images (which are common when a
user has used something like IFTT to auto-post photos from Flickr -
it uploads the image AND links to it on Flickr, so we could end up
loading it twice because of our 3rd part image support)
@IBBoard
Copy link
Contributor Author

IBBoard commented Aug 20, 2016

Superseded by #612

@IBBoard IBBoard closed this Aug 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant