API - Webhooks for Facebook Groups

api for facebook.com groups

Introduction

Can I use the API for Facebook groups?
Can I get notifications about new posts or comments with my keywords?

Yes.

Just use GroupsTracker.com Webhooks.

Table of contents

1. How webhook works?

1

POST request

When GroupsTracker finds new post or comment your URL will be triggered as a POST request

2

Output data - JSON

JSON format:
[
{
"groupID": "...",
"postID": "...",
"url": "...",
}, {}, {}...
]
3

Process data on your side

You can do anything with the data: Store in your database, sent it somewhere else, or use it in your system.

2. Quick setup

  1. Register your account

  2. Add Facebook groups

  3. Add keywords

  4. Add your webhook url:
    https://www.groupstracker.com/panel/settings

3. When we find a new posts

*

We run your script Url with POST data

JSON format:
[
{
"groupID": "...",
"groupName": "...",
"postID": "...",
"url": "...",
"GroupsTracker": "...",
"post": "...",
"author": "...",
"urlImg": "...",
"authorFacebookID": "...",
"authorUrl": "...",
"allImgs": "...",
"createdAt": "...",
"updated": "...",
"Sentiment": "...",
"OwnPrompt": "...",
"AIAnswer": "...",
"AITrigger": "...",
"TriggerSend": "...",
}, {}, {}...
]

4. When we find new comments

*

We run your script Url with POST data

JSON format:
[
{
"type": "comments",
"groupID": "...",
"groupName": "...",
"postID": "...",
"url": "...",
"GroupsTracker": "...",
"post": "...",
"author": "...",
"urlImg": "...",
"authorFacebookID": "...",
"authorUrl": "...",
"comments": [
"commentID": "...",
"comment": "...",
"author": "...",
"urlImg": "...",
"authorFacebookID": "...",
"authorUrl": "...",
"date": "...",
{}...
}, {}, {}... ]
]

5. When a group is activated

*

We run your script Url with POST data

JSON format:
[
{
"type": "group",
"groupID": "...",
"groupName": "...",
"url": "...",
"status: "active",
}, {}, {}... ]
]

GroupsTracker API for Facebook groups

Check group status

Returns the status of the group you added to your account

Endpoint URL

Method

Input (JSON)

Output (JSON)

Add a new group

Method for adding new groups to your account

Endpoint URL

Method

Input (JSON)

Output (JSON)

Delete your group

Method for deleting groups from your account

Endpoint URL

Method

Input (JSON)

Output (JSON)

Add new keywords

Method for adding new keywords to your groups

Endpoint URL

Method

Input (JSON)

Output (JSON)

Delete keyword

Method for deleting groups from your account

Endpoint URL

Method

Input (JSON)

Output (JSON)

Download facebook posts

How to download all posts from Facebook group to .CSV (Excell) file or as a JSON data?

.CSV format

Go to "Groups" section and click icon to download file https://www.groupstracker.com/panel/groups

JSON format

Use endpoint:
Parameters:
Output data (.csv format):

Download facebook comments

How to download all comments from Facebook posts to .CSV (Excell) file or as a JSON data?

.CSV format

Go to "Groups" section and click icon to download file https://www.groupstracker.com/panel/groups
downloading facebook to csv

JSON format

Use endpoint:
Parameters:
Output data (.csv format):

Download group members

How to download all Facebook group members to .CSV (Excell) file or as a JSON data?

.CSV format

Go to "Groups" section and click icon to download file https://www.groupstracker.com/panel/groups
downloading facebook to csv

JSON format

Use endpoint:
Parameters:
Output data (.csv format):

Comments

Tell us what do you think about this article?

Write first comment

Your comment