Social Analytics & NLP

Social Listening Intelligence Platform

Context: Enterprise Project· Role: AI Engineer / Architect· Status: Enterprise Internal System

A social-listening platform that scrapes Facebook and Instagram comments across multiple cosmetics brands, classifies them with a fine-tuned BERT model, and surfaces the results through a dashboard and exportable reports.

Business Problem

Marketing and customer-care teams across 8+ cosmetics brands had no systematic way to monitor high volumes of Facebook and Instagram comments, making it hard to spot delivery complaints, pricing questions or negative sentiment before they escalated.

Users

Marketing and customer-care teams monitoring brand reputation and customer questions across multiple social accounts.

Constraints

Multiple brands & platforms High comment volume Arabic-first content Single-tag classification policy

Solution

I built a pipeline that scrapes comments from each brand's Facebook and Instagram Graph API, normalizes them into a per-brand, per-platform PostgreSQL schema, and classifies each comment with a fine-tuned BERT sequence-classification model. The model's 11 output classes are mapped into a 9-category business taxonomy — FAQ, product availability, delivery issues, pricing, competition, engagement, tone and filter, plus positive/negative — surfaced through a dashboard with cross-brand analysis and exportable PDF reports.

Architecture

Social Listening architecture: Facebook and Instagram Graph API comments through a unified scraper into PostgreSQL per brand and platform, a BERT classifier mapping 11 classes to 9 categories, and a dashboard with PDF reports
Facebook + Instagram Graph API
Unified Scraper
PostgreSQL (per brand · per platform)
BERT Classifier (11 → 9 categories)
Dashboard + PDF Reports

Your Contribution

Designed
the multi-brand, multi-platform data pipeline and business taxonomy.
Built
the unified Facebook/Instagram scraper and PostgreSQL ingestion schema.
Fine-tuned
a BERT sequence-classification model mapping 11 model classes into a 9-category business taxonomy.
Developed
the dashboard, cross-brand analysis and PDF-reporting layer.

Technology Stack

Python Flask FastAPI PostgreSQL Transformers (BERT) PyTorch Facebook Graph API Instagram Graph API Docker

Results

8+
brands monitored
2
platforms (Facebook + Instagram)
9
business-facing categories
1
consistent tag per comment

Challenges & Trade-Offs

Cross-platform normalization vs. platform-specific nuance

Normalizing Facebook and Instagram comments into one per-brand schema keeps cross-brand analysis simple and consistent, trading away some platform-specific signal — comment threading, reaction types — that a platform-native pipeline could otherwise use.

Confidentiality

Enterprise project. Real brand names, comment content and account identifiers are not shown — this page describes the pipeline and taxonomy, not client data.