Node.js daemon that publishes a Discourse post to Facebook Group

AI-generated summary

A Node.js daemon created by engross automatically publishes Discourse posts to a Facebook Group, with the code available on GitHub. The tool is in use on the jsdev.kr site and welcomes contributions. Users Jong, Muiran, and chi praise the utility, with chi asking about automation limits and plugin potential. engross confirms no current limits and allows immediate editing or deletion. SouperC inquires about adapting it for Facebook Pages, while meglio notes Facebook’s policy restrictions on automated posting without user consent. PabloC asks if the tool can poll Facebook to post to Discourse, and copopod inquires about image handling. thaidb asks about switching from a personal profile to a managed fanpage for posting.

I am sharing a simple utility I created.

It’s a simple Node.js daemon that publishes a Discourse post to Facebook Group.

https://github.com/jsdevkr/discourse-facebook-auto-publish

This is in use on my jsdev.kr site and will be updated continuously.

It would be an honor if you left the github star.

Thank you.

16 Likes

Awesome! :+1: :smile:

1 Like

Brilliant!
Thank you, it’s the solution to a problem I didn’t know I had.
:+1:t5:

3 Likes

@engross so every time someone post at Discourse it automatically post to fb group? Or are there any limitations? Thanks. Nice work on this. I hope it’s can be plugin so no need to run a separate app all the time.

@chi There is no limit now.
Authors can edit or delete immediately after writing, only provide POSTED_AFTER_MIN option.

1 Like

Thanks for creating this… I have a need to publish new topics to a facebook page. How much effort would that require do you think?

or… is it something I can do via webhook?

If I remember correctly, Facebook policies prohibit automatic posting without user consent. The API is to help user publish to Facebook, but the process itself should be accompanied by the user.

1 Like

Can this be used to poll fb and post on discourse?

By the way, thanks for sharing!

1 Like

thanks for this! before we install… does this automatically pull image from the individual post or from the first post in the topic only?

thanks

Hello,

Can you change poster from profile facebook to fanpage mannage group facebook that?
Thank u!