Facebook is a social networking website where users may create a personal profile, add other users as friends, and exchange messages, including automatic notifications when they update their profile.


API Overview

Facebook Credentials Required set with /rpc/oauth/facebook/auth

Any message this Channel receives will get posted to your Facebook Timeline

{
  "action": "facebook.post_timeline_mine",
  "config": [
  ]
}
Parameter Data Type Description Default
message string New Timeline Contentnone
link string URL (Optional)none
Parameter Data Type Description
id string Wall Post ID

Retrieves the latest messages posted to your timeline

{
  "action": "facebook.get_timeline_mine",
  "config": {
    "me_only": "yes"
  }
}
Parameter Data Type Description Default
me_only boolean Retrieve only Posts By Me
Parameter Data Type Description
id string Post ID
message string Message
type string Post type
picture string Picture URL
link string Link URL
name string Link Name
description string Link Description
icon string Link Icon
created_time string UTC Created Time

Posts a message to a Page that you manage

{
  "action": "facebook.post_page",
  "config": {
    "page_id": "value"
  }
}
Parameter Data Type Description Default
page_id string Page IDnone
Parameter Data Type Description Default
message string New Post Contentnone
link string URL (Optional)none
Parameter Data Type Description
id string Post ID

Posts a Photo to a Page that you manage. Any image files it receives will also be uploaded

{
  "action": "facebook.post_page_photo",
  "config": {
    "page_id": "value"
  }
}
Parameter Data Type Description Default
page_id string Page IDnone
Parameter Data Type Description Default
message string Photo Descriptionnone
url string URL (Optional)none
Parameter Data Type Description
id string Photo ID
post_id string Post ID

Retrieves the latest messages posted to one of your pages

{
  "action": "facebook.get_page_timeline",
  "config": {
    "me_only": "yes",
    "page_id": "value"
  }
}
Parameter Data Type Description Default
me_only boolean Retrieve only Posts By Page Admins1
page_id string Page IDnone
Parameter Data Type Description
id string Post ID
message string Message
type string Post type
picture string Picture URL
link string Link URL
post_link string Link To Post
name string Link Name
description string Link Description
icon string Link Icon
created_time string UTC Created Time

comments powered by Disqus