Wordpress to social network

Information on your n8n setup

  • n8n version:1.60.1,
  • **Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • **Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system:

Hello,

I’d like to set up an automation so that when an article is published on WordPress, it automatically posts to Facebook and LinkedIn. The post should be rewritten using OpenAI.

I would also like to keep the article’s image and the important URL from the article.

Any recommendations for getting started?

Hey @Arnaudfpm,

I guess as a starting point you would need something like the workflow below which is just a quick placement of the nodes you are likely to need.

Once you have that getting the post content and updating it you could work on getting the image.

I guess if your wordpress site has an rss feed you could use the rss trigger node to start the workflow as soon as new post is made as well.

I made a webhook in order to retrieve the “published” articles. I manage to retrieve the lurl shot but for the image it’s more complicated.

but on AFacbook I can’t connect the API

I’ve followed the instructions here: Facebook Graph API credentials | n8n Docs


Hello, i did it with workflow

But small problem on linkedin i’d like to publish on the page and not with profil person, but i think i must be send a request to " Pages Data Portability API" What do you think and how i can i do ?

You may need the business optiom which will require verification, we currently only support posting as a person or posting as an org though so if you need a third option you would need to use the http request node to build out the request.

Can I use the HTTP request to connect my Linkedin to the page I want to publish on?

Hello, I need help with the Facebook Graph API.
My workflow works fine until it reaches the Facebook Graph API.

I don’t understand how the Facebook API graph works or how I need to set it up for my workflow to function properly.

And alos parameter to node with Facebook Graph PAI :

Anybody can explain me ?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.