threads-scheduler is a ready-to-use SaaS platform to schedule and automate your posts on Meta’s Threads app (database, Stripe billing, authentication, backend infrastructure).
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
mongod --config /opt/homebrew/etc/mongod.conf --fork
npm run dev
npm run build:production
npm run start
mongodb
brew tap mongodb/brew
brew update
brew install [email protected]
| Component | Intel Processor | Apple Silicon Processor |
|---|---|---|
| Configuration file | /usr/local/etc/mongod.conf | /opt/homebrew/etc/mongod.conf |
| Log directory | /usr/local/var/log/mongodb | /opt/homebrew/var/log/mongodb |
| Data directory | /usr/local/var/mongodb | /opt/homebrew/var/mongodb |
mongod --config /opt/homebrew/etc/mongod.conf --fork
etc/hosts
127.0.0.1 dev.company.com
ssl
In private create a file dev.company.com.ext:
authorityKeyIdentifier=keyid,issuer
basicConstraints=CA:FALSE
extendedKeyUsage=serverAuth,clientAuth
keyUsage = digitalSignature, nonRepudiation, keyEncipherment, dataEncipherment
subjectAltName = @alt_names
[alt_names]
DNS.1 = dev.company.com
openssl genrsa -des3 -out company.key 2048
openssl req -x509 -new -nodes -key company.key -sha256 -days 825 -out company.pem
openssl genrsa -out dev.company.com.key 2048
openssl req -new -key dev.company.com.key -out dev.company.com.csr
openssl x509 -req -in dev.company.com.csr -CA company.pem -CAkey company.key -CAcreateserial \
-out dev.company.com.crt -days 825 -sha256 -extfile dev.company.com.ext
Extra steps for Mac Import the CA cert at "File > Import file", then also find it in the list, right click it, expand "> Trust", and select "Always" Add extendedKeyUsage=serverAuth,clientAuth below basicConstraints=CA:FALSE, and make sure you set the "CommonName" to the same as dev.company.com when it asks for setup.
THREADS_APP_ID
THREADS_SECRET_KEY
Make sure that you are using the APP ID and Secret defined for the Threads API of your app. These ARE not the same as the regular app ID and app secret.
- application:
- https://developers.facebook.com/docs/threads/
- https://developers.facebook.com/blog/post/2024/10/01/threads-api-new-features/
- https://github.com/fbsamples/threads_api
- https://www.postman.com/meta
- https://www.postman.com/meta/threads/overview/
- https://mherman.org/blog/local-authentication-with-passport-and-express-4/
- https://github.com/mjhea0/passport-local-express4
- https://www.npmjs.com/package/passport
- https://github.com/jaredhanson/passport-local
- https://www.npmjs.com/package/passport-local-mongoose





