Skip to content

fix: use instagram embed url - #73

Open
oroce wants to merge 1 commit into
micnews:masterfrom
purposeindustries:fix/instagram-embed-url
Open

fix: use instagram embed url#73
oroce wants to merge 1 commit into
micnews:masterfrom
purposeindustries:fix/instagram-embed-url

Conversation

@oroce

@oroce oroce commented Feb 9, 2017

Copy link
Copy Markdown

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

oroce commented Feb 9, 2017

Copy link
Copy Markdown
Author

@oroce

oroce commented Feb 9, 2017

Copy link
Copy Markdown
Author

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