Giter Site home page Giter Site logo

glampoo-bot's Introduction

Caivy-Bot | Facebook Graph API

A useful Facebook Graph API bot that can integrate with your facebook page to easily manage your page.

Features

  • Check if there is a comment made on the specify post
  • Reply to the user that just commented
  • Private Replies to user that commented

Installation

Clone the project

  git clone https://github.com/Caivy/Glampoo-Bot.git

Go to the project directory

  cd Glampoo-Bot

Install dependencies

  pip3 install -r requirements.txt

Run the Bot

  python3 Glampoo.py

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

Page_Access_Token

Page_ID

Post_ID

Permission Required

To run this project, you will need the following Permission

pages_messaging ADVANCE ACCESS REQUIRE

pages_read_engagement

pages_manage_posts

API Reference

Get Comments

  GET /v12.0/{object-id}/comments
Parameter Type Description
summary string A summary of metadata about the comments on the object. Importantly this metadata includes order which indicates how the comments are being sorted.
filter string This determines which comments are returned when comment replies are available. It can be either: toplevel or stream

Field

An array of Comment objects in addition to the following fields when summary is true in the request.

  GET /v12.0/{object-id}/comments?summary=1&order='reverse_chronological'
Parameter Type Description
order enum Order in which comments were returned. chronological and reverse_chronological

For more information please refer to the Offical Facebook Graph API Doccumentation : https://developers.facebook.com/docs/graph-api/reference

Demo

Caivy-Bot | Demo

Used By

This project is used by the following Pages:

  • Glampoo
  • Caivy Marketplace

Authors

glampoo-bot's People

Contributors

caivy avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

glampoo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.