Hacker News new | ask | show | jobs
by colesantiago 2034 days ago
Not sure if using 3rd party services for a CMS is a good idea. What happens if this API or Netlify goes down?

Doesn't seem reliable.

2 comments

If the Twitter API is down, then you'll have blank spots on your page where there are supposed to be tweets.

If Netlify goes down, you won't be able to publish, but your statically rendered site should still load just fine unless you are using it to make dynamic queries on the fly (which is, I think not generally done for Gatsby, but very possible to do)

A fair point. Also true for any front end that relies on an API to populate its data. Hacker News for instance will use a similar approach. If they concern is that sometimes API's may go down and data won't be displayed you can of course chose not to use API's in your front end. If you're not that bothered like me, that this is just. "one" way you "could" use Twitter as a CMS for you blog.
You are always relying on a 3rd party somewhere down the stack that's not a reason to dismiss a solution alone.
Given Twitter's track record on APIs, there is every reason to dismiss this solution.
To be fair, this is something they've acknowledged and committed to working on for future API iterations.
I can host a blog such that it only requires 2nd parties:

- My ISP

- My power company

What would you use for DNS?

edit: Also they're third party. 1st is you 2nd party is the customer (The blog audience).