Skip to content

Sync Facebook Group and Page Feed Events

License

Notifications You must be signed in to change notification settings

VarnaLab/varnalab-events

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

varnalab-events

Built on top of facebook-sync

CLI

node varnalab-events/bin/
  --auth auth.json \
  --config config.json \
  --fields fields.json \
  --db db.json \
  --env production \
  --sync add|update

config.json

{
  "production": {
    "token": "[Facebook Access Token]"
  }
}

config.json

{
  "production": {
    "feeds": [
      "varnalab",
      "121769877975286"
    ],
    "place": {
      "id": "214440281946231"
    },
    "sync": {
      "add": {
        "limit": 5,
        "since": 0
      },
      "update": {
        "limit": 30,
        "since": 0
      }
    }
  }
}

fields.json

{
  "production": {
    "post": [
      "id",
      "created_time",
      "object_id",
      "type"
    ],
    "event": [
      "id",
      "name",
      "description",
      "cover",
      "place",
      "start_time",
      "end_time",
      "updated_time"
    ],
    "photo": [
      "id",
      "width",
      "images"
    ]
  }
}

db.json

[]

About

Sync Facebook Group and Page Feed Events

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published