Code Monkey home page Code Monkey logo

Comments (6)

raae avatar raae commented on June 4, 2024 1

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.

raae avatar raae commented on June 4, 2024 1

I agree a hack will just bloat the plugin, there is now a problem with Twitch oEmbeds as well.

from gatsby-remark-oembed.

nickytonline avatar nickytonline commented on June 4, 2024

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.

nickytonline avatar nickytonline commented on June 4, 2024

Also, now I know why my embeds for IG aren't working. 😄

from gatsby-remark-oembed.

mayanksharma1133 avatar mayanksharma1133 commented on June 4, 2024

how to hack Instagram id
link

from gatsby-remark-oembed.

raae avatar raae commented on June 4, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.