News for hackers. Stuff that matters.
Re:Use Netlify Functions and the Twitter API v2 as a CMS for... by colesantiago on Monday November 23, 2020 @09:15AM (#25186930)
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.

Re:Use Netlify Functions and the Twitter API v2 as a CMS for... by bmelton on Monday November 23, 2020 @09:39AM (#25187156)
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)

Re:Use Netlify Functions and the Twitter API v2 as a CMS for... by pauliescanlon on Tuesday November 24, 2020 @03:07AM (#25196336)
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.
Re:Use Netlify Functions and the Twitter API v2 as a CMS for... by gamedevtales on Monday November 23, 2020 @09:17AM (#25186949)
You are always relying on a 3rd party somewhere down the stack that's not a reason to dismiss a solution alone.
Re:Use Netlify Functions and the Twitter API v2 as a CMS for... by colesantiago on Monday November 23, 2020 @09:45AM (#25187208)
Given Twitter's track record on APIs, there is every reason to dismiss this solution.
Re:Use Netlify Functions and the Twitter API v2 as a CMS for... by developerdylan on Monday November 23, 2020 @10:07AM (#25187448)
To be fair, this is something they've acknowledged and committed to working on for future API iterations.
Re:Use Netlify Functions and the Twitter API v2 as a CMS for... by ThePadawan on Monday November 23, 2020 @10:10AM (#25187498)
I can host a blog such that it only requires 2nd parties:

- My ISP

- My power company

Re:Use Netlify Functions and the Twitter API v2 as a CMS for... by gamedevtales on Monday November 23, 2020 @10:41AM (#25187875)
What would you use for DNS?

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