Live data from Hacker News

FB JavaScript SDK down

developers.facebook.com

21–30 of 32 posts

Re: FB JavaScript SDK down

#21

after having been involved in multiple products that relied on facebook, i would not be surprised if this was just their way to let developers know they discontinued the sdk. But don't worry they write a blog post when they bring out the successor in a few months.

I wanted to write: "Again? They don't learn to use robust patterns do they".

But if they discontinued it, then they have little reasons to put money into improving it.

Re: FB JavaScript SDK down

#22

It's funny to me. A while back there was a thread on HN about the SDK going hay-wire and taking apps down with it. I sometimes wonder how much damage (financially, technically and socially) a single "shutdown" command can cause. Seems developers don't bother to test/handle certain failure scenario. Because this API or this server will be available until the heat death of the universe and will never fail. Also shows F…

One problem here is that the specific way in which the API is down right now (for an app that I work on, at least) is that when you make a login request through the JS-SDK, to get authorization to use other features/APIs, it never responds. The listener is not unavailable, but the API never responds, so from our point of view, we call their JS SDK login function, which takes a callback, the callback is never called. The best we can do is set our own timeout that gets deleted in the callback and if that doesn't happen before the timeout callback is called in the callback, we go down another path, either displaying an error or doing some other fallback code, but this login method is almost always used to get access to another API, so it starts with a user wanting to do something that some time later they'll be notified that they can't. That's just a bad user experience with no other way around it, if they can't quickly return an error.

Also, _WHY_ do these large scale API providers think that just letting the connection hang is in any way acceptable. Their load balancer, cache layer, proxy, literally anything in front of their API can return an error immediately instead of just waiting for the API. Even just returning a 504 for gateway timeout (which is probably the right thing to do) would be better than just sitting there and never returning anything.

Re: FB JavaScript SDK down

#23
post #4

By my count from the status page[0], the FB JS SDK has had issues for 30 of the past 90 days. That's not even one 9. [0] https://developers.facebook.com/status/dashboard/

That's assuming each issues lasted 24 hours right?

Re: FB JavaScript SDK down

#24
With a less walled garden service and with interoperability encouraged (and they'll never ever embrace it due to greed) the service being down (and hey remember when fb went down and took out Instagram and Whatsapp with it?) wouldn't be so consequential for a lot of people

Re: FB JavaScript SDK down

#25

This is client side javascript right? Did they push a bad release, or is the server not responding appropriately?

Server not responding appropriately. Well, technically, for some endpoints, it's just not responding at all. In the client side javascript, you call a function and pass it a callback and the callback is never called because their API never responds. No timeout or anything, just never calls your callback. The method is used for getting permissions for a user so you know what other calls are available to them. The docs for the method show no way to get the status of the call other than the callback passed in. https://developers.facebook.com/docs/reference/javascript/FB...

Re: FB JavaScript SDK down

#26
post #19

It’s too bad the core website didn’t go down with it. I believe the majority of users, at least those in the USA where FB is based, would be better off without it. A week-long FB outage would surely result in a very interesting study of society’s response and adaptation to said event.

People will only discover they can live without FB like I did. Never came back to self glorification platform.

Especially during the pandemic it would be nice to have something that facilitated online communications with people I know IRL. I've never understood how to use it, whenever I go on I see someone's post and like it maybe go to comment only to realize it was from five days ago. People talk about getting into huge discussions and spending tons of time on there, I mostly see a handful of semi-stale posts, a handful of fresh ones, a handful of comments on a few of them. Maybe it is my friend group that is the problem? Maybe it is my infrequent usage? Maybe you have to use it a lot to get anything out of it?

The other problem is that I would not have the same conversations with my conservative relatives as my liberal friends, and it feels awkward that everything is visible to everyone.

Re: FB JavaScript SDK down

#27
post #19

Earlier quoted context omitted.

People will only discover they can live without FB like I did. Never came back to self glorification platform.

Especially during the pandemic it would be nice to have something that facilitated online communications with people I know IRL. I've never understood how to use it, whenever I go on I see someone's post and like it maybe go to comment only to realize it was from five days ago. People talk about getting into huge discussions and spending tons of time on there, I mostly see a handful of semi-stale posts, a handful of…

Who ever, ever thought " commented on public post" is a good idea? What the hell is that?

Re: FB JavaScript SDK down

#28

It’s too bad the core website didn’t go down with it. I believe the majority of users, at least those in the USA where FB is based, would be better off without it. A week-long FB outage would surely result in a very interesting study of society’s response and adaptation to said event.

There is a movie built upon that premise: https://en.m.wikipedia.org/wiki/Surrogates

Re: FB JavaScript SDK down

#29
post #23
post #4

By my count from the status page[0], the FB JS SDK has had issues for 30 of the past 90 days. That's not even one 9. [0] https://developers.facebook.com/status/dashboard/

That's assuming each issues lasted 24 hours right?

I think most of them did since the same issue would be marked on the tracker for multiple days in a row.

In reality, FB is just being highly transparent with issues and I should applaud them, but that's a lot of yellow and red.

Re: FB JavaScript SDK down

#30
post #19

Earlier quoted context omitted.

People will only discover they can live without FB like I did. Never came back to self glorification platform.

Especially during the pandemic it would be nice to have something that facilitated online communications with people I know IRL. I've never understood how to use it, whenever I go on I see someone's post and like it maybe go to comment only to realize it was from five days ago. People talk about getting into huge discussions and spending tons of time on there, I mostly see a handful of semi-stale posts, a handful of…

I had a good time with Facebook groups before leaving. They were much more controllable than the algofeed
Post reply on HN