Share a new WordPress blog post to Facebook newsfeed automatically with Microsoft Flow

 

Whenever you publish a new blog post on WordPress, the good news can be automatically shared on your Facebook timeline. With Microsoft Flow, part of the Office 365 suite. Here is how:

1. Your Microsoft Flow needs to authenticate to WordPress and Facebook. Create connections for each account.

a. Login on the Office 365 portal.

b. Select the Flow tile from the App Launcher.

2

c. In the settings menu at the top-right of the screen select Connections.

01

d. On the My connections page click Create Connection. 

02

e. In the list of Available connections, select the connection that you want to set up, such as Facebook or WordPress. Then, enter your credentials to set up the connection. Click Approve to allow Flow to login on your behalf.

5

2. Create a new blank flow.

Go to a modern SharePoint list and select Create a flow.

1

Alternatively on the Office 365 portal select My flow and Create from blank.

6

3. Add the needed actions and conditions.

a. Look for the action WordPress – When a post is created.

7

b. Click New step and Add an action.

8

c. Select Facebook – Post to my timeline and add your customized status message.

9

4. Save the flow and it will get automatically enabled.

TIP

Actions displayed when adding new steps are filtered on the ones compatible with the flow logic. You can still manually search for and add other actions, but these will eventually not work.

e.g. at the time of this writing, posting to a SharePoint page fails with the message 200 Insufficient permission to post to target on behalf of the viewer

10

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s