Skip to content
Back to skills

Infra Facebook Cdp

ASecurity

Facebook CDP automation: comments, data collection

  • 92 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added May 29, 2026
toolspythongobashdebugginggit

Works with

  • cli

Security analysis

A100/100

Scanned May 29, 2026

npx -y skills add aAAaqwq/AGI-Super-Team --skill infra-facebook-cdp --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Infra Facebook Cdp?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Infra Facebook Cdp
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aaaaqwq-infra-facebook-cdp/badge)](https://www.skillsdirectory.com/skills/aaaaqwq-infra-facebook-cdp)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: infra-facebook-cdp
description: Facebook CDP automation: comments, data collection
---
# Skill: Facebook CDP Automation

**ID:** `infra-facebook-cdp`
**Domain:** infra
**Repo:** https://github.com/your-org/your-facebook-cdp (private)

---

## Description

Facebook automation via Chrome DevTools Protocol. Comment collection, replying to comments, CSV export.

---

## Path

```
$HOME/facebook-cdp/
```

---

## Capabilities

1. **Comment collection** -- all comments from a post including nested replies
2. **Reply to comments** -- reply to a specific comment by author name
3. **CSV export** -- saving collected comments

---

## Usage

### 1. Launch Chrome with remote debugging

```bash
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
    --remote-debugging-port=9222 \
    '--remote-allow-origins=*'
```

### 2. Log in to Facebook manually

### 3. Collect comments

```python
from facebook_comments import collect_post_comments

comments = collect_post_comments(
    "https://www.facebook.com/post/123",
    output_file="comments.csv"
)
```

### 4. Reply to a comment

```python
from facebook_comments import FacebookComments

fb = FacebookComments()
fb.connect()
fb.reply_to_comment("Author Name", "Reply text")
fb.close()
```

---

## Comment data structure

```python
{
    "author_name": "Author name",
    "author_profile_url": "https://facebook.com/...",
    "comment_text": "Comment text",
    "is_reply": False,  # True if this is a reply
    "timestamp": "Feb 6, 2026"
}
```

---

## Dependencies

- Python 3.8+
- `requests`, `websocket-client`
- Chrome with remote debugging

---

## Related skills

- `linkedin-cdp` -- similar tool for LinkedIn

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.