It's even worse than it appears..
Tuesday May 31, 2022; 3:50 PM EDT
  • One of the things Facebook does better than Twitter is the way they write browser-based JS modules as their API instead of server-based APIs. #
  • That way:#
    • The API is much simpler.#
    • I don't have to run a server as an intermediary.#
    • The uptake of new APIs would be faster.#
  • In April 2014, I spent a month developing glue that would connect my browser-based apps to Twitter. I figured it would take a month to do the same with Facebook, but it took a couple of days because they had done all the work I had to do myself for Twitter. The idea is to factor out the things every app has to do and distribute it as JS code they can call when their app boots up. You don't even have to load the code yourself, it takes care of that too. #
  • Someone at FB was tasked with making it easier and they did a great job. Now I'd love to see Twitter do the same. Happy to help. #

Last update: Tuesday May 31, 2022; 8:44 PM EDT.

You know those obnoxious sites that pop up dialogs when they think you're about to leave, asking you to subscribe to their email newsletter? Well that won't do for Scripting News readers who are a discerning lot, very loyal, but that wouldn't last long if I did rude stuff like that. So here I am at the bottom of the page quietly encouraging you to sign up for the nightly email. It's got everything from the previous day on Scripting, plus the contents of the linkblog and who knows what else we'll get in there. People really love it. I wish I had done it sooner. And every email has an unsub link so if you want to get out, you can, easily -- no questions asked, and no follow-ups. Go ahead and do it, you won't be sorry! :-)