elsa-workflows / elsa-workflows/elsa-extensions

Add Facebook Pages Integration

Open
#22 0 comments 0 reactions 0 assignees View on GitHub
triaged
Dominant language
C#
Stars
49
Forks
48
Avg merge
21h 35m
Merged PRs (30d)
20

Description

This issue tracks the implementation of an integration for **Facebook Pages** in Elsa Workflows. The module should allow workflows to interact with Facebook Pages, supporting content creation, management, and monitoring activities.

## **Tasks**
- [ ] Create a new module: `Elsa.Integrations.FacebookPages`
- [ ] Implement **Workflow Activities**:
- [ ] **CreateComment** - Creates a comment.
- [ ] **CreatePost** - Creates a post.
- [ ] **CreatePostWithPhotos** - Creates a multi-photo post.
- [ ] **DeleteComment** - Deletes a comment.
- [ ] **DeletePhoto** - Deletes a photo.
- [ ] **DeletePost** - Deletes a post.
- [ ] **DeleteVideo** - Deletes a video.
- [ ] **GetPostReactions** - Returns the number of reactions for a post.
- [ ] **GetComment** - Retrieves information about a comment.
- [ ] **GetPage** - Retrieves details about a page.
- [ ] **GetPhoto** - Retrieves information about a photo.
- [ ] **GetPost** - Retrieves information about a post.
- [ ] **GetVideo** - Retrieves information about a video.
- [ ] **LikePost** - Likes a post.
- [ ] **ListComments** - Retrieves comments for a post.
- [ ] **ListPhotos** - Retrieves photos.
- [ ] **ListPosts** - Retrieves posts.
- [ ] **ListVideos** - Retrieves videos.
- [ ] **UnlikePost** - Unlikes a post.
- [ ] **UpdateComment** - Updates a comment.
- [ ] **UpdatePage** - Updates details on a page, such as phone or email.
- [ ] **UpdatePost** - Updates a post.
- [ ] **UpdateVideo** - Updates a video.
- [ ] **UploadPhoto** - Uploads a photo.
- [ ] **UploadVideo** - Uploads a video.
- [ ] **WatchComments** - Triggers when a new comment is added.
- [ ] **WatchPhotos** - Triggers when a new photo is added.
- [ ] **WatchPosts** - Triggers when a new post is added.
- [ ] **WatchPostsPublicPage** - Triggers when a new post is added to the selected public page.
- [ ] **WatchVideos** - Triggers when a new video is added.

- [ ] Add Unit Tests
- [ ] Add Documentation (`README.md`)

## **References**
- 📖 [Facebook Pages API Docs](https://developers.facebook.com/docs/pages/)
- 🛠️ [Facebook Developer Resources](https://developers.facebook.com/)

## **Notes**
- This should follow the standard structure used for Elsa Integrations.
- The integration should support authentication via OAuth 2.0.

## **Contributor Guidelines**
If you're interested in working on this issue:

1. Comment below to claim it.
2. Follow the [CONTRIBUTING.md](https://github.com/elsa-workflows/elsa-integrations/blob/main/CONTRIBUTING.md) guide.
3. Submit a PR referencing this issue.

Contributor guide

Open the contributing guide

Research direction

Start with CONTRIBUTING.md, the Facebook Pages API documentation, and existing Elsa integration modules to understand the standard structure and OAuth 2.0 expectations. Implement the listed Facebook Pages workflow activities, then add unit tests and README.md documentation. Done means the module is complete, tested, documented, and supports the requested page, post, comment, photo, and video operations.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.