How to post rss feed items to fb page

How to post rss feed items to fb page using graph api

I am using n8n desktop app for windows 10

I have connected rss feed read node to facebook graph api node, but get this eror

ERROR: Bad request - please check your parameters

The post is empty. Please enter a message to share.

How to add the rss feed items to the fb graph node as query parameters?

Could you please share your nodes?

To do that, select them and copy via ctrl+c and paste in post like that
```
paste here
```

That will help to understand what’s going on, and no worry your credential will not be shared

RSS Feed Node

{
  "nodes": [
    {
      "parameters": {
        "url": "https://www.google.com/alerts/feeds/13685440054990138147/12998277923834807989"
      },
      "name": "RSS Feed Read",
      "type": "n8n-nodes-base.rssFeedRead",
      "typeVersion": 1,
      "position": [
        460,
        300
      ]
    }
  ],
  "connections": {}
}
-------------------------------------------------
**Facebook Graph API**

{
  "nodes": [
    {
      "parameters": {
        "httpRequestMethod": "POST",
        "graphApiVersion": "v12.0",
        "node": "removed_for_privacy/feed",
        "options": {
          "queryParameters": {
            "parameter": [
              {}
            ]
          }
        }
      },
      "name": "Facebook Graph API",
      "type": "n8n-nodes-base.facebookGraphApi",
      "typeVersion": 1,
      "position": [
        680,
        300
      ],
      "credentials": {
        "facebookGraphApi": {
          "id": "1",
          "name": "Facebook Graph account"
        }
      }
    }
  ],
  "connections": {}
}

Update

I managed to execute the fb graph api using expressions in query parameters and mapping it to the rss feed json output, but now the challenge is to execute the workflow when the rss feed is updated

If you mean get only new RSS things, have a look here:

1 Like