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

fix: use instagram embed url #73

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

oroce
Copy link

@oroce oroce commented Feb 9, 2017

Instagram supports embedding images without javascript if you append /embed after the id.

To be honest first I read about this here: http://stackoverflow.com/a/24746208

I wasn't able to find any info about this in the developer docs unfortunately.:(

Probably this is a breaking change.

Instagram supports embedding images without javascript if you append `/embed` after the id.

To be honest first I read about this here: http://stackoverflow.com/a/24746208

I wasn't able to find any info about this in the developer docs unfortunately.:(

Probably this is a breaking change.
@oroce
Copy link
Author

oroce commented Feb 9, 2017

@oroce
Copy link
Author

oroce commented Feb 9, 2017

Mh I just realized that there are tests which do exactly the opposite: https://github.com/purposeindustries/embeds/blob/fix/instagram-embed-url/test/embed-code-parse-test.js#L44-L45

Am I missing something or is there any reason why https://instagram.com/p/tsxp1hhQTG/embed should become https://instagram.com/p/tsxp1hhQTG if we use parseInput?

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