cancel
Showing results for 
Search instead for 
Did you mean: 

Facebook Custom Connector

Introduction:
This blog walks you through step-by-step on how to build your own Facebook custom connector. You will need a minimum of Flow or PowerApps plan 1. The existing Facebook connector works only for those who created the connection prior to when Facebook made changes on their side. New connections do not work and this is the only workaround currently available.

 

Requirements
• A Facebook page
• Flow Plan 1

 

Steps
These steps give you a quick overview of what you need. The video walks you through the entire process in detail

1. Download the Swagger file from https://github.com/microsoft/PowerPlatformConnectors/tree/master/samples/Facebook
2. Create a Facebook page
3. Create a Facebook for Developers Account
4. Go to https://developers.facebook.com/apps/
5. Create a new app by clicking on My Apps
6. Give a display name
7. Create a New App ID
8. Settings>Basic
9. Get the App ID
10. App Secret
11. Click on Products
12. Select Facebook Login Setup
13. Go to PowerApps and create a custom connector
14. Click on New Custom Connector
15. apiDefinition.Swagger.json
16. Copy the Redirect URL

Picture2.png


18. Paste that URL in the Facebook settings

 

Picture3.png


Building the flow

 

Picture1.png

 

Video

 

Conclusion
Currently you can only post to a Facebook page, the option to post on your personal timeline is no longer available. Also, the process is much simpler doing it via Flow. You do have the option to create a PowerApp and connect the same Flow to it.

Comments

Hi @darogael,

 

I try to follow the steps but I get an error. In the meantime, some things have also changed in Power Automate. Perhaps it is useful to adjust the manual to this?

 

Because the built-in RSS to FAcebook flow no longer works, I want to make a flow myself. However, I get an error that prevents me from completing the process. I want posts that I post on my WordPress website to be automatically posted to my Facebook page.

 

Can you help me?

This is the error:

 

paths/~1{pageId}~1feed/get/parameters/0/x-ms-dynamic-values/parameters/Accept : The parameter could not be found in operation 'GetMyPages' in the swagger document. ## Error : paths/~1{pageId}~1feed/post/parameters/0/x-ms-dynamic-values/parameters/Accept : The parameter could not be found in operation 'GetMyPages' in the swagger document.

Meet Our Blog Authors
  • Experienced Consultant with a demonstrated history of working in the information technology and services industry. Skilled in Office 365, Azure, SharePoint Online, PowerShell, Nintex, K2, SharePoint Designer workflow automation, PowerApps, Microsoft Flow, PowerShell, Active Directory, Operating Systems, Networking, and JavaScript. Strong consulting professional with a Bachelor of Engineering (B.E.) focused in Information Technology from Mumbai University.
  • Encodian Owner / Founder - Ex Microsoft Consulting Services - Architect / Developer - 20 years in SharePoint - PowerPlatform Fan
  • Cambridge UK Power Platform User Group Leader, Technical evangelist and speaker. Always says yes to coffee! #LetsGetCoffee
  • Passionate #Programmer #SharePoint #SPFx #Office365 #MSFlow | C-sharpCorner MVP | SharePoint StackOverflow, Github, PnP contributor
  • I am building business processes and applications that are easy for users' to stick to, so they can follow and understand them. In overall I transform processes to be more reliable and effortless. I am a proud co-organizer of SharePoint Saturday Warsaw and active community member, blogger and international speaker.