seancdavis / seancdavis-com

My personal website, which is mostly just a blog helping developers build better websites.
https://seancdavis.com/
Other
26 stars 7 forks source link

Skip toggle blocks and inline mentions #955

Closed seancdavis closed 9 months ago

seancdavis commented 9 months ago

Skip toggle blocks (like table of contents). And mentions of other Notion pages or linked items are ignored.

Note that mentions can technically be to public URLs, but are often used for private URLs and so they aren't supported. Plain links must be used.

seancdavis commented 9 months ago

The twitter embed test is currently failing with this error:

error: {
  client_id: '...',
  detail: 'When authenticating requests to the Twitter API v2 endpoints, you must use keys and tokens from a Twitter developer App that is attached to a Project. You can create a project via the developer portal.',
  registration_url: 'https://developer.twitter.com/en/docs/projects/overview',
  title: 'Client Forbidden',
  required_enrollment: 'Appropriate Level of API Access',
  reason: 'client-not-enrolled',
  type: 'https://api.twitter.com/2/problems/client-forbidden'
}

I did move the app inside a project, but that didn't seem to solve the issue. I also regenerated the token.

Some ideas:

And when it eventually works:

seancdavis commented 9 months ago

No luck with Twitter. The best I could find is that they aren't supporting the things I need to do with the API in the free version.

I'm just going to rip Twitter out of the workflows, which is a shame.

seancdavis commented 9 months ago

Disabling the Netlify build plugin that dispatches the Tweet publisher workflow should be enough to effectively disable the twitter portion of the workflow. But this way I can keep the code hanging around in case the API opens up in the future and I want to revisit.