← All work
Tooling · 2018

Automated Facebook Posting Bot

Overview

A Node.js bot that automates publishing content to Facebook through the Graph API, persisting access tokens and post state locally.

Why It Exists

Built to automate recurring social posting on Facebook without manual effort, programmatically pushing content and tracking what has been sent.

What We Built

A Node script using the fb Graph SDK to publish posts, with node-fetch/request for supporting HTTP calls and remove-accents for text normalization. Access tokens are kept in a tokens.json file and post/run state in a local SQLite database (via sqlite3-wrapper), giving the bot lightweight persistence between runs.

Technologies & Approach

The Facebook Graph SDK for posting; SQLite for simple local state; flat-file token storage. A compact, single-purpose automation.

Outcome / Impact

A working social-posting automation, demonstrating Graph API integration and stateful bot design. Archived early-career tool.

Capabilities Demonstrated

  • Automating social-media publishing via the Facebook Graph API
  • Token management and local state persistence (SQLite)
  • Building focused, single-purpose Node automations
More work See all →