[READ-ONLY] Mirror of https://github.com/Schniz/fb-group-poster. Posts to a facebook group using your credentials using Selenium WebDriver
0

Configure Feed

Select the types of activity you want to include in your feed.

JavaScript 90.5%
Dockerfile 7.4%
Shell 1.8%
Other 0.3%
15 1 0

Clone this repository

https://tangled.org/schlez.in/fb-group-poster https://tangled.org/did:plc:j3llmk3aaii6dcbftny3v4jw
git@tangled.org:schlez.in/fb-group-poster git@tangled.org:did:plc:j3llmk3aaii6dcbftny3v4jw

For self-hosted knots, clone URLs may differ based on your setup.



README.md

FB Group Poster#

Posts to a facebook group using your credentials using Selenium WebDriver. Works well with bots to share things you love with your friends.

Usage#

Deploy it using Dokku or just Docker.

Env vars#

  • SECRET - the secret key to verify the signed message.
  • USER_EMAIL - the poster email.
  • USER_PASS - the poster password.

Routes#

GET /#

returns ready for uptime checks.

POST /#

receives a body with signed as a jwt signed message in the format:

{
	"text": "the message to type",
	"groupId": "FACEBOOK_GROUP_OD"
}

i.e., if we post the following body to the route (using the secret keyboard cat):

{
	"signed": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0ZXh0IjoiaGVsbG8gdGhlcmUiLCJncm91cElkIjoibXlGYWNlYm9va0dyb3VwIiwiaWF0IjoxNDY2MjQyNDExfQ.wqs0x6Z6Jnwa5MLa4mTLWvjxw6kGLiG7Yr1OLZF9jn4"
}

we will post hello there to the myFacebookGroup group.

Thanks#