Comments (6)
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.
from gatsby-remark-oembed.
I agree a hack will just bloat the plugin, there is now a problem with Twitch oEmbeds as well.
from gatsby-remark-oembed.
hack
, sounds like a hack.😄
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 useAccessToken
and the default value is set to true
so to opt out, they need to explicitly set it to false
.
from gatsby-remark-oembed.
Also, now I know why my embeds for IG aren't working. 😄
from gatsby-remark-oembed.
how to hack Instagram id
link
from gatsby-remark-oembed.
See settings per provider in the readme.
Not totally sure if this still works as my token has expired...
from gatsby-remark-oembed.
Related Issues (20)
- Setup mdx example site to Netlify HOT 1
- Fix format command in gatsby-remark-oembed package folder HOT 2
- Something is up with Twitch embeds HOT 8
- Move Instagram throw error when finding an instagram embed HOT 2
- New release HOT 1
- Add pull request template
- Add mdx support documentation HOT 1
- Logo HOT 1
- Improve test coverage for tranformsLinkNodeToOembedNode.js
- Improve performance in `getProviderEndpointForLinkUrl` HOT 1
- Move to GitHub actions form Travis? HOT 1
- Use without Gatsby HOT 11
- Add pluginOptionsSchema
- Create a new release HOT 8
- trim option should exclude <pre> HOT 2
- Twitter Embed - Missing blockquote.twitter-tweet HOT 2
- Transforms links that are list items HOT 2
- Transforms links that are image links HOT 1
- The automated release is failing 🚨
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gatsby-remark-oembed.