GithubHelp home page GithubHelp logo

jsdevkr / discourse-facebook-auto-publish Goto Github PK

View Code? Open in Web Editor NEW
19.0 2.0 6.0 760 KB

Discourse posts are publish to Facebook. https://www.discourse.org/

HTML 29.60% TypeScript 70.40%
discourse-posts facebook-bot facebook-groups nodejs facebook-publish

discourse-facebook-auto-publish's Introduction

discourse-facebook-auto-publish

Notes

A specially developed webhook for publish discourse articles to the facebook group.

Usage

  • Install Dependency
$ npm insatll
  • Start Server - You need to configure, below the Configuration section.
$ npm start
  • Stop Server
$ npm stop
  • Add Webhook on discource for Topic event
http://__HOST__:__PORT__/discoursehook
or
http://__HOST__:__PORT__/discoursehook_delay

Configuration

  • need to copy .env_sample to .env and change it.
SITE_0_PORT=8080
SITE_0_POSTED_AFTER_MIN=5
SITE_0_DISCOURSE_URL=https://jsdev.kr
SITE_0_FACEBOOK_GROUP_ID=jsdevkr
SITE_0_FACEBOOK_USER=
SITE_0_FACEBOOK_PASS=

The FACEBOOK_GROUP_ID is facebook.com/groups/__HERE__/

  • You can adding multi config using SITE_${NUMBER}_.

To do

  • Post to other facebook groups by category.
  • Posting the same post to multiple groups.

Caution

  • You cannot running this server in public cloud.
  • It should be running in the same network that you logged in to Facebook.
  • Otherwise, Facebook can block or audit your account.

License

MIT License

discourse-facebook-auto-publish's People

Contributors

dependabot[bot] avatar gimdongwoo avatar woo-gim avatar yomybaby avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

discourse-facebook-auto-publish's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.