45fe64fdc1 | ||
---|---|---|
.. | ||
README.md | ||
apiDefinition.swagger.json | ||
apiProperties.json |
README.md
Facebook Connector
Prerequisites
-
Create a Facebook app
https://developers.facebook.com/docs/apps/#scenario
. -
Add 'Facebook Login' product to your app.
-
Replace 'facebook_app_id' in apiProperties.json with your Facebook app id.
"clientId": "facebook_app_id"
-
Use CLI tool
paconn
to create a new custom connector. -
On Facebook developer dashboard update 'Valid OAuth Redirect URIs' under Products >> Facebook Login >> Settings. You can find the redirect URI on security page of your custom connector.
Supported Triggers
As part of this sample following triggers are supported:
When there is a new post on my timeline
: Triggers a new flow when there is a new post on your timeline. It is possible for this trigger to not activate for all posts since detection of a post must pass several privacy checks including a person's privacy settings on Facebook.
Supported Actions
As part of this sample following actions are supported:
-
Get my feed
: Get the feed from your timeline. -
Get page feed
: Get posts from the feed of a specified page. -
Post to my page
: Post a message to a page that you own. -
Get user timeline
: Get posts from a user's timeline.