cancel
Showing results for 
Search instead for 
Did you mean: 
darogael

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

@darogael When I try to create the connector in the security tab, I get the following error: 

 

The specified swagger has the following errors: "The definition is invalid". Error: "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. "

 

Can you help me with that, please?

Hi,

 

I had the same message: 

 

The specified swagger has the following errors: "The definition is invalid". Error: "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. "The specified swagger has the following errors: "The definition is invalid". Error: "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. "


any help!?

 

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.
  • I am a Microsoft Business Applications MVP and a Senior Manager at EY. I am a technology enthusiast and problem solver. I work/speak/blog/Vlog on Microsoft technology, including Office 365, Power Apps, Power Automate, SharePoint, and Teams Etc. I am helping global clients on Power Platform adoption and empowering them with Power Platform possibilities, capabilities, and easiness. I am a leader of the Houston Power Platform User Group and Power Automate community superuser. I love traveling , exploring new places, and meeting people from different cultures.
  • MCT | SharePoint, Microsoft 365 and Power Platform Consultant | Contributor on SharePoint StackExchange, TechCommunity
  • Encodian Owner / Founder - Ex Microsoft Consulting Services - Architect / Developer - 20 years in SharePoint - PowerPlatform Fan
  • I am the Owner/Principal Architect at Don't Pa..Panic Consulting. I've been working in the information technology industry for over 30 years, and have played key roles in several enterprise SharePoint architectural design review, Intranet deployment, application development, and migration projects. I've been a Microsoft Most Valuable Professional (MVP) 12 consecutive years and am also a Microsoft Certified SharePoint Masters (MCSM) since 2013.
  • Big fan of Power Platform technologies and implemented many solutions.
  • Passionate #Programmer #SharePoint #SPFx #M365 #Power Platform| Microsoft MVP | SharePoint StackOverflow, Github, PnP contributor
  • Web site – https://kamdaryash.wordpress.com Youtube channel - https://www.youtube.com/channel/UCM149rFkLNgerSvgDVeYTZQ/