Skip to content

Commit

Permalink
improved presets
Browse files Browse the repository at this point in the history
  • Loading branch information
strohne committed Jul 17, 2018
1 parent fe366cc commit 5123989
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion presets/Facebook-Get_Comments.3_9.json
Expand Up @@ -4,7 +4,7 @@
"speed": 200,
"options": {
"params": {
"fields": "message, created_time, comment_count, like_count",
"fields": "message, created_time, parent, comment_count, like_count",
"<post>": "<Object ID>"
},
"basepath": "https://graph.facebook.com/v2.12/",
Expand Down
4 changes: 2 additions & 2 deletions presets/Facebook-Get_Posts_.3_9.json
@@ -1,13 +1,13 @@
{
"description": "Add Facebook-IDs of pages as nodes, e.g. \"Uni.Greifswald.de\". This preset fetches the last 10 posts on a page. You can increase the limit-parameter or increade the maximum pages to get more posts.\n\nTo filter by date use the parameters \"since\" and \"until\". The until-parameter always has to be one day later, the day starts at 0:00am.\n\nIf you want more data than message, created_time and updated_time adjust the fields-parameter. \nSee https://developers.facebook.com/docs/graph-api/reference/v2.12/post for more possibilities. See https://developers.facebook.com/docs/graph-api/reference/v2.12/page/feed for an explanation of the difference between feed and posts.\n\nNotice: If you add more fields, also add them in the column setup to make the data visible in the nodes view.",
"description": "Add Facebook-IDs of pages as nodes, e.g. \"Uni.Greifswald.de\". This preset fetches the last 10 posts on a page. You can increase the limit-parameter or increade the maximum pages to get more posts.\n\nTo filter by date use the parameters \"since\" and \"until\". The until-parameter always has to be one day later, the day starts at 0:00am.\n\nIf you want more data than message, created_time and updated_time adjust the fields-parameter. Try things like: attachments, message_tags, type, link, story, permalink_url. If you want data about reactions try the fields from the reactions preset or likes.limit(0).summary(true), comments.limit(0).summary(true), shares.limit(0).summary(true). \n\nSee https://developers.facebook.com/docs/graph-api/reference/v2.12/post for more possibilities. \n\nSee https://developers.facebook.com/docs/graph-api/reference/v2.12/page/feed for an explanation of the difference between feed and posts.\n\nNotice: If you add more fields, also add them in the column setup to make the data visible in the nodes view.",
"module": "Facebook",
"speed": 200,
"options": {
"resource": "<page>/feed",
"basepath": "https://graph.facebook.com/v2.12/",
"params": {
"limit": "20",
"<fields>": "message, created_time, updated_time",
"fields": "message, from, created_time, updated_time",
"<page>": "<Object ID>"
},
"pages": 1,
Expand Down

0 comments on commit 5123989

Please sign in to comment.