diff --git a/presets/Facebook-1_Get_page_data_v14_0_.fp4.json b/presets/Facebook-1_Get_page_data_v14_0_.fp4.json deleted file mode 100644 index 8777fe96..00000000 --- a/presets/Facebook-1_Get_page_data_v14_0_.fp4.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "1 Get page data (v14.0)", - "category": "Facebook", - "description": "*Please note: Due to changes in the Facebook API, you can no longer request page metadata with this preset. The special permissions needed can only be obtained by registering an own app and going through the app review (https://developers.facebook.com/docs/app-review/introduction).*\n\n*Facebook additionally introduced the New Page Experience, so that the API is more restricted for pages that have been migrated. See the New Pages Experience Overview: https://developers.facebook.com/docs/pages/new-pages-experience/overview/ *\n\nFetch the most basic information about a Facebook page.\n\n\n**Get started with the preset**\n\n1. After creating or opening a database, add the handle of a Facebook page (e.g. \"Uni.Greifswald.de\") as a seed node using the \"Add Nodes\" button.\n\n2. Load the preset by clicking \"Apply\" in the preset window.\n\n3. Login to Facebook in the Facebook module.\n\n4. Select the seed node and then click the \"Fetch Data\" button.\n\nLearn how to use presets in the wiki: https://github.com/strohne/Facepager/wiki/Presets\n\n\n**Further options**\n\nAbout fields: you can add fields to the fields parameter to fetch more data. For example, add \"likes\" to get to know which pages this page liked. See the Facebook API reference linked below for more options. Notice: If you add more fields, also add them in the column setup to make the data visible in the nodes view.\n\n**Facebook API documentation**\n\nBe aware that APIs are changing constantly. You can always find the latest information in the Facebook API Reference: https://developers.facebook.com/docs/graph-api/reference/page/.", - "module": "Facebook", - "options": { - "auth": "param", - "auth_prefix": "", - "auth_tokenname": "access_token", - "auth_type": "OAuth2", - "auth_uri": "https://www.facebook.com/dialog/oauth", - "basepath": "https://graph.facebook.com/v14.0", - "extension": "", - "key_paging": "paging.next", - "nodedata": null, - "objectid": "id", - "pages": 1, - "paging_type": "url", - "params": { - "": "", - "fields": "name, about, location, category, talking_about_count, fan_count" - }, - "redirect_uri": "https://www.facebook.com/connect/login_success.html", - "resource": "/", - "scope": "", - "token_uri": "" - }, - "speed": 200, - "saveheaders": false, - "timeout": 15, - "maxsize": 5, - "columns": [ - "name", - "about", - "location.city", - "category", - "fan_count", - "talking_about_count", - "error.message" - ] -} \ No newline at end of file diff --git a/presets/Facebook-2_Get_posts_v14_0_.fp4.json b/presets/Facebook-2_Get_posts_v14_0_.fp4.json deleted file mode 100644 index 94293fb3..00000000 --- a/presets/Facebook-2_Get_posts_v14_0_.fp4.json +++ /dev/null @@ -1,39 +0,0 @@ -{ - "name": "2 Get posts (v14.0)", - "category": "Facebook", - "description": "Fetch the last 20 posts of a Facebook page.\n\n\n**Get started with the preset**\n\n1. After creating or opening a database, add the handle of a Facebook page (e.g. \"Uni.Greifswald.de\") as a seed node using the \"Add Nodes\" button.\n\n2. Load the preset by clicking \"Apply\" in the preset window.\n\n3. Login to Facebook in the Facebook module.\n\n4. Select the seed node and then click the \"Fetch Data\" button.\n\nLearn how to use presets in the wiki: https://github.com/strohne/Facepager/wiki/Presets\n\n\n**Some further options**\n\n1. Change the limit-parameter: You can increase the limit-parameter or increade the maximum pages to get more posts. \n\n2. Filtering by date: To 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 GMT. For example, set since to \"2019-03-21\" and until to \"2019-03-22\" to limit the result to 21st of March 2019. See https://developers.facebook.com/docs/graph-api/results for further information.\n\n3. Get other fields: If you want more data than message, created_time and updated_time adjust the fields-parameter. Try things such as: attachments, message_tags, story, permalink_url, shares. You will find more fiields in the API reference (see below).\n\n4. Get reactions: If you want data about reactions try adding fields from the reactions preset: comments.limit(0).summary(1), reactions.limit(0).summary(1), reactions.type(LIKE).limit(0).summary(1).as(like), reactions.type(LOVE).limit(0).summary(1).as(love), reactions.type(HAHA).limit(0).summary(1).as(haha), reactions.type(WOW).limit(0).summary(1).as(wow), reactions.type(SAD).limit(0).summary(1).as(sad), reactions.type(ANGRY).limit(0).summary(1).as(angry), likes.limit(0).summary(true) \n\n\n**Facebook API documentation**\n\nBe aware of the API limitations, Facebook provides only up to 600 posts per year for each page. For more information and query options see the API reference: https://developers.facebook.com/docs/graph-api/reference/v14.0/page/feed\n\nTo understand the data contained in a post see https://developers.facebook.com/docs/graph-api/reference/v13.0/post \n\nThe technique to query reactions along with the posts is called field expansion, see https://developers.facebook.com/docs/graph-api/guides/field-expansion", - "module": "Facebook", - "options": { - "auth": "param", - "auth_prefix": "", - "auth_tokenname": "access_token", - "auth_type": "OAuth2", - "auth_uri": "https://www.facebook.com/dialog/oauth", - "basepath": "https://graph.facebook.com/v14.0", - "extension": "", - "key_paging": "paging.next", - "nodedata": "data", - "objectid": "id", - "pages": 1, - "paging_type": "url", - "params": { - "": "", - "fields": "message, from, created_time, updated_time", - "limit": "20" - }, - "redirect_uri": "https://www.facebook.com/connect/login_success.html", - "resource": "//posts", - "scope": "", - "token_uri": "" - }, - "speed": 200, - "saveheaders": false, - "timeout": 15, - "maxsize": 5, - "columns": [ - "message", - "created_time", - "updated_time", - "error.message" - ] -} \ No newline at end of file diff --git a/presets/Facebook-3_Get_comments_v14_0_.fp4.json b/presets/Facebook-3_Get_comments_v14_0_.fp4.json deleted file mode 100644 index 75735d82..00000000 --- a/presets/Facebook-3_Get_comments_v14_0_.fp4.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "3 Get comments (v14.0)", - "category": "Facebook", - "description": "Fetch the last 20 comments of a post or the last 20 replies to a comment.\n\n\n**Get started with the preset**\n\n1. Before you can use this preset, you have to fetch posts or add Facebook IDs of some posts. See the preset named \"Get posts\".\n\n2. Load the preset by clicking the \"Apply\" button.\n\n3. Login to Facebook in the Facebook module\n\n4. Select post or comment nodes and click the button \"Fetch Data\".\n\n\n**Some hints**\n\n1. Replies: Replies are comments to comments. Thus, you can use the comment preset to get replies to the comments. Alternatively, set the filter parameter to \"stream\" to get replies along with the comments.\n\n2. About the author of comments: you cannot access data about the author of comments (if you are not the owner of the page).\n\n3. Adding fields: When adding fields to the fields-parameter also add them in the column setup to make the data visible in the nodes view.\n\n\n**Facebook API documentation**\n\nSee the reference of the comments edge for further information: https://developers.facebook.com/docs/graph-api/reference/v14.0/object/comments\n\nFor information about available fields see the Facebook API reference: https://developers.facebook.com/docs/graph-api/reference/v13.0/comment\n\n", - "module": "Facebook", - "options": { - "auth": "param", - "auth_prefix": "", - "auth_tokenname": "access_token", - "auth_type": "OAuth2", - "auth_uri": "https://www.facebook.com/dialog/oauth", - "basepath": "https://graph.facebook.com/v14.0", - "extension": "", - "key_paging": "paging.next", - "nodedata": "data", - "objectid": "id", - "pages": 1, - "paging_type": "url", - "params": { - "": "", - "fields": "message, created_time, parent, comment_count, like_count", - "filter": "stream", - "summary": "1" - }, - "redirect_uri": "https://www.facebook.com/connect/login_success.html", - "resource": "//comments", - "scope": "", - "token_uri": "" - }, - "speed": 200, - "saveheaders": false, - "timeout": 15, - "maxsize": 5, - "columns": [ - "message", - "created_time", - "like_count", - "comment_count", - "error.message" - ] -} \ No newline at end of file diff --git a/presets/Facebook-Detail_data_about_posts_v13_0.fp4.json b/presets/Facebook-Detail_data_about_posts_v13_0.fp4.json deleted file mode 100644 index 4e387986..00000000 --- a/presets/Facebook-Detail_data_about_posts_v13_0.fp4.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "name": "Detail data about posts (v13.0)", - "category": "Facebook", - "description": "*Please note: Due to changes in the Facebook API, fetching post data with this preset is limited. The special permissions needed can only be obtained by registering an own app and going through the app review (https://developers.facebook.com/docs/app-review/introduction).*\n\n Fetch information about a post.\n\n\n**Get started with the preset**\n\n1. Before you can use this preset, you have to fetch posts or add Facebook IDs of some posts. Full post IDs consist of the page ID, an underscore and the post ID, e.g. \"20373776304_10158930464676305\". You can fetch posts using the preset \"Get Facebook posts\".\n\n2. Load the preset by clicking the \"Apply\" button.\n\n3. Login to Facebook in the Facebook module\n\n4. Select the post nodes and click the button \"Fetch Data\". \n\n\n**Facebook API documentation**\n\nFor information about all available fields see https://developers.facebook.com/docs/graph-api/reference/v13.0/post \n\n", - "module": "Facebook", - "options": { - "auth": "param", - "auth_prefix": "", - "auth_tokenname": "access_token", - "auth_type": "OAuth2", - "auth_uri": "https://www.facebook.com/dialog/oauth", - "basepath": "https://graph.facebook.com/v13.0", - "extension": "", - "key_paging": "paging.next", - "nodedata": "data", - "objectid": "id", - "pages": 1, - "paging_type": "url", - "params": { - "": "", - "fields": "from,likes.limit(0).summary(1),picture,attachments" - }, - "redirect_uri": "https://www.facebook.com/connect/login_success.html", - "resource": "/", - "scope": "", - "token_uri": "" - }, - "speed": 200, - "saveheaders": false, - "timeout": 15, - "maxsize": 5, - "columns": [ - "from.name", - "error.message" - ] -} \ No newline at end of file diff --git a/presets/Facebook-Facebook_Pagelikes.fp4.json b/presets/Facebook-Facebook_Pagelikes.fp4.json deleted file mode 100644 index 77d85cce..00000000 --- a/presets/Facebook-Facebook_Pagelikes.fp4.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "name": "Pages a page likes (v13.0)", - "category": "Facebook", - "description": "Get the pages a page likes.\n\n\n**Get started with the preset**\n1. After creating or opening a database, add page IDs as seed nodes using the \"Add Nodes\" button, e.g. \"116949331668018\". You can get page IDs using the preset \"Get page data\".\n\n2. Load the preset by clicking \"Apply\" in the preset window.\n\n3. Login to Facebook in the Facebook module.\n\n4. Select the seed node and then click the \"Fetch Data\" button.\n\n**Facebook documentation**\n\nSee https://developers.facebook.com/docs/graph-api/reference/page/likes/ for more information about the endpoint. \n", - "module": "Facebook", - "options": { - "basepath": "https://graph.facebook.com/v13.0", - "resource": "//likes", - "params": { - "": "", - "fields": "id,about,bio,category,company_overview,description,fan_count,general_info,keywords,link,location,members,name,release_date,start_info,talking_about_count,username,website,were_here_count,written_by" - }, - "extension": "", - "pages": 1, - "paging_type": "url", - "key_paging": "paging.next", - "nodedata": null, - "objectid": null, - "scope": "", - "auth_uri": "https://www.facebook.com/dialog/oauth", - "redirect_uri": "https://www.facebook.com/connect/login_success.html", - "token_uri": "", - "auth": "param", - "auth_prefix": "", - "auth_tokenname": "access_token" - }, - "speed": 200, - "saveheaders": false, - "timeout": 15, - "maxsize": 5, - "columns": [ - "id", - "about", - "category", - "fan_count", - "link", - "location.city", - "location.country", - "location.latitude", - "location.longitude", - "location.street", - "location.zip", - "name", - "start_info.type", - "start_info.date.year", - "start_info.date.month", - "talking_about_count", - "username", - "website", - "were_here_count" - ] -} \ No newline at end of file diff --git a/presets/Facebook-Get_page_insights_v13_0_.fp4.json b/presets/Facebook-Get_page_insights_v13_0_.fp4.json deleted file mode 100644 index 56af75a6..00000000 --- a/presets/Facebook-Get_page_insights_v13_0_.fp4.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "Get page insights (v13.0)", - "category": "Facebook", - "description": "This preset can be used by page admins to fetch page analytics.\n\n\n**Get started with the preset**\n\n1. You need to be admin of the Facebook page to get insights such as page impressions. \n\n2. Load the preset by clicking \"Apply\" in the preset window.\n\n3. To authorize, click the settings button (next to login) and set the Page ID (the name of your page, e.g. Uni.Greifswald.de). \n\n4. Login to Facebook in the Facebook module.\n\n5. Select the seed node and then click the \"Fetch Data\" button.\n\n\n**Facebook API documentation**\n\nSee the Facebook API reference for further options: https://developers.facebook.com/docs/graph-api/reference/page/insights/#availmetrics", - "module": "Facebook", - "options": { - "auth": "param", - "auth_prefix": "", - "auth_tokenname": "access_token", - "auth_type": "OAuth2", - "auth_uri": "https://www.facebook.com/dialog/oauth", - "basepath": "https://graph.facebook.com/v13.0", - "extension": "", - "key_paging": "paging.next", - "nodedata": "data", - "objectid": "id", - "pages": 1, - "paging_type": "url", - "params": { - "": "", - "metric": "page_impressions" - }, - "redirect_uri": "https://www.facebook.com/connect/login_success.html", - "resource": "//insights", - "scope": "", - "token_uri": "" - }, - "speed": 200, - "saveheaders": false, - "timeout": 15, - "maxsize": 5, - "columns": [ - "name", - "period", - "values.*.value", - "values.*.end_time", - "title", - "description", - "id" - ] -} \ No newline at end of file diff --git a/presets/Facebook-Get_reactions_v13_0_.fp4.json b/presets/Facebook-Get_reactions_v13_0_.fp4.json deleted file mode 100644 index 361c5224..00000000 --- a/presets/Facebook-Get_reactions_v13_0_.fp4.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "Get reactions (v13.0)", - "category": "Facebook", - "description": "*Please note: Due to changes in the Facebook API, fetching reactions with this preset is limited. The special permissions needed can only be obtained by registering an own app and going through the app review (https://developers.facebook.com/docs/app-review/introduction).*\n\n Fetch all different types of reactions in one call, instead of querying every single edge.\n\n**Get started with the preset**\n\n1. Before you can use this preset, you have to fetch posts or add Facebook IDs of some posts. Full post IDs consist of the page ID, an underscore and the post ID, e.g. \"20373776304_10158930464676305\". You can fetch posts using the preset \"Get posts\".\n\n2. Load the preset by clicking \"Apply\" in the preset window.\n\n3. Login to Facebook in the Facebook module.\n\n4. Select the seed node and then click the \"Fetch Data\" button.\n\n\n**Facebook API documentation**\n\nBe aware that APIs are changing constantly. You can always find the latest information about permissions, available fields etc. in the Facebook API Reference: https://developers.facebook.com/docs/graph-api/reference/v13.0/object/reactions", - "module": "Facebook", - "options": { - "auth": "param", - "auth_prefix": "", - "auth_tokenname": "access_token", - "auth_type": "OAuth2", - "auth_uri": "https://www.facebook.com/dialog/oauth", - "basepath": "https://graph.facebook.com/v13.0", - "extension": "", - "key_paging": "paging.next", - "nodedata": null, - "objectid": "id", - "pages": 10, - "paging_type": "url", - "params": { - "": "", - "fields": "comments.limit(0).summary(1),\nshares, reactions.limit(0).summary(1),\nreactions.type(LIKE).limit(0).summary(1).as(like),\nreactions.type(LOVE).limit(0).summary(1).as(love),\nreactions.type(HAHA).limit(0).summary(1).as(haha),\nreactions.type(WOW).limit(0).summary(1).as(wow),\nreactions.type(SAD).limit(0).summary(1).as(sad),\nreactions.type(ANGRY).limit(0).summary(1).as(angry)" - }, - "redirect_uri": "https://www.facebook.com/connect/login_success.html", - "resource": "/", - "scope": "", - "token_uri": "" - }, - "speed": 200, - "saveheaders": false, - "timeout": 15, - "maxsize": 5, - "columns": [ - "comments.summary.total_count", - "shares.count", - "reactions.summary.total_count", - "like.summary.total_count", - "love.summary.total_count", - "wow.summary.total_count", - "haha.summary.total_count", - "sad.summary.total_count", - "angry.summary.total_count" - ] -} \ No newline at end of file