Simple Facebook anonymous post to fan page timeline system, Fast to submit user post content, And using Firebase authentication to identify.
- 🕑 Real time to submit user post.
- 🖼️ Support user submit post with picture.
- 🧖 Firebase authentication to avoid spamming.
- 📝 Record remote user submit content, IP and User-Agent.
$ git clone [email protected]:stu01509/Node.js-Facebook-Anonymous-Post.git
$ cd Node.js-Facebook-Anonymous-Post
$ npm install
- Setting Facebook Graph API Access Token.
📌Note: Post to fan page require publish_pages and manage_pages permission.
1. Open .env File.
2. Find Facebook_Access_Token = Your_Access_Token #2
3. Paste your Facebook Graph API Token to Replace Your Access_Token.
- Setting Firebase confing.
Go to Firebase cretae a new project, And add Firebase config, Then click authentication enable sign-in method.
1. Open .env File.
2. Find apiKey = Your_apiKey #5;
3. Paste your Firebase config to Replace All Value.
- Setting Post Tag Number.
1. Open .env File.
2. Find tag = #13;
3. Replace to Your Number.
In project directory using node index.js, The app will listen on 3000 port, Running in localhost:3000
$ node index.js
This project deploy on Azure free plan, Need a some time to wake up the app.
🌐Demo
MIT