Skip to content

mobyourlife/ms-sync-fb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ms-sync-fb

Recognised messages

Inputs are read from sync-fb queue, and outputs are written to cache queue.

Sync page:

Input:

{
  "type": "page",
  "payload": {
    "id": "1234567890"
  }
}

Output:

{
  "source": "sync-fb",
  "type": "page",
  "payload": {
    "id": "1234597890",
    "name": "",
    "description": "",
    "albums": [
      {
        "id": "",
        "name": "",
        "description": ""
      }
    ]
  }
}

Sync photos:

Input:

{
  "type": "photos",
  "payload": {
    "id": "1234597890"
  }
}

Output:

{
  "type": "fb.photos",
  "payload": {
    "photos": [
      {
        "id": "",
        "description": "",
        "likes": 250,
        "sources": [
          { },
          { }
        ]
      },
      {
        "id": "",
        "description": "",
        "likes": 323,
        "sources": [
          { },
          { }
        ]
      }
    ]
  }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published