-
Notifications
You must be signed in to change notification settings - Fork 24
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
Add Instagram hack to get around access token requirement? #128
Comments
For the Instagram options, if there is no access token present, we can skip the oEmbed endpoint with perhaps a warning that no token was provided or some kind of message like that. This way, it doesn't cause any friction for folks currently using the embed and if they provide a token, then that's good too. Another idea could be an option called |
Also, now I know why my embeds for IG aren't working. 😄 |
The solution I have so far in #132 is that it skips fetching if there is no access token, and prints an error to the console. But it does not stop the build. The PL needs a look and if you like it then it can be merged and closed. |
I agree a hack will just bloat the plugin, there is now a problem with Twitch oEmbeds as well. |
how to hack Instagram id |
See settings per provider in the readme. Not totally sure if this still works as my token has expired... |
Should we create a hack for Instagram that skips using their oEmbed endpoint?
It would consist of getting the post's id using the schema from the provider list, and then just fill in the html that would have been returned by the oEmbed endpoint.
To activate one should add "hack": true or something to the Instagram options.
The text was updated successfully, but these errors were encountered: