Schmavery / facebook-chat-api

Unofficial Facebook Chat API for Nodejs
MIT License
1.94k stars 597 forks source link

Rewrite from scratch? #872

Open hoangvu12 opened 3 years ago

hoangvu12 commented 3 years ago

Is there any chance to rewrite this API from scratch? I mean Facebook have now updated a lot, and I think this API is unstable. It cause more issues. Let me know what you think.

minhh2792 commented 3 years ago

go ahead

nileplumb commented 3 years ago

Facebook is such a horrid closed system prone to random A-B backend systems for users to work with it's just not a welcoming prospect for any coder with spare time. I guess you (like myself) just want to accommodate people unwilling to migrate to another system such as slack, telegram, discord etc but long gone are the days of facebook actually being useful and fun.

samostanek commented 3 years ago

I recommend you use makiprogrammer/ts-messenger-api. It is loosely based on Schmavery's repo, but written in typescript and using async/await and events in place of callbacks. Currently, it's maintained.

minhh2792 commented 3 years ago

Is there anymore library ?

hoangvu12 commented 3 years ago

I recommend you use makiprogrammer/ts-messenger-api. It is loosely based on Schmavery's repo, but written in typescript and using async/await and events in place of callbacks. Currently, it's maintained.

This looks promising, I'll give it a try later.

TheSohaibAhmed commented 3 years ago

@hong4rc I'd be interested in helping you rewrite this, but where does one even start?

hoangvu12 commented 3 years ago

@hong4rc I'd be interested in helping you rewrite this, but where does one even start?

You can help rewriting this library out makiprogrammer/ts-messenger-api.

hong4rc commented 3 years ago

@hong4rc I'd be interested in helping you rewrite this, but where does one even start?

https://github.com/hong4rc/node-facebook work for old version Facebook.

But I don't have much time to maintain it.

I going to make it work this weekend.

Feel free to help another lib(ex: https://github.com/makiprogrammer/ts-messenger-api like @hoangvu12 said)