Connect API with Facebook¶
Sign in to Facebook Developer, press Create App to create an app on the website.
Note
In order to link Facebook account in Meta developers page, you need to be the Administrator of the integrated Facebook pages.
Select the Business app type, Sign in type and press Next to continue.
Here, select the app display name and contact email so that Facebook can contact you in case of emergency, press Create App to finish.
After you finish, the system will navigate you to the dashboard to continue.
Note
Your app need to be verified and you also need Facebook permission access to data for the created applications to have a successful integration. To do so, go to
and request the following access rights:- Level: Advanced Access
pages_manage_metadata
pages_read_user_content
pages_messaging
pages_show_list
pages_manage_posts
pages_read_engagement
pages_manage_engagement
- Level: Standard Access
pages_manage_metadata
pages_read_user_content
pages_messaging
pages_show_list
pages_manage_posts
pages_read_engagement
pages_manage_engagement
On the Dashboard , press Set up to add the following apps: Facebook Login, Webhook, and Messenger.
On the left toolbar, select
, at the Valid OAuth Redirect URIs field, type: domain name of the instance + /facebook_callback_user_access_token. E.g. example.viindoo.com/facebook_callback_user_access_token.Webhooks Configuration¶
On the left toolbar, access Webhooks and select Page.
Press Edit Subscription. On the Callback URL, type: domain name of the instance + /facebook_webhooks. E.g: example.viindoo.com/facebook_webhooks and verify Token: fa****1234. Press Verify and Save.
Then subscribe the feed field by pressing Subcribe.
Messenger Integration¶
Navigate to
, at webhook configuration, press Manage and subscribe messages fields.Connect Facebook with Viindoo¶
Return to
to copy the App ID and App secret.Note
You need to press “Show” to show the app secret before copying.
Return to the Viindoo system, navigate to
. Scroll to the Facebook section and attach the App ID and App secret to the corresponding field.Then press Save to save. Now, you have completed the API integration with Facebook.
Integrate API with Linkedin¶
Similar to Facebook, you need to create an app at Linkedin Developer by pressing Create APP.
Here, enter the needed information and press Create App.
When you complete, the system will navigate you to the dashboard so that you can continue.
To verify company associate with the application, press Verify on LinkedIn Page, and complete the steps following the Verify company popup.
After the Linked In page is verified, you can request access product at Products tab.
Connect LinkedIn with Viindoo¶
Move to the Auth tab, copy the app’s Client ID and Client Secret.
Return to Viindoo system, enter
and attach the App ID and App Secret to the corresponding fields.In tab Auth, you enter the following syntax into the Authorized redirect URLs for your app: instant domain + /linkedin_callback, e.g. viindoo.demo.com/linkedin_callback.
Webhooks Configuration¶
The feature of receiving notifications for interactions on LinkedIn posts:
Go to Social Marketing > Configuration > Social marketing, select LinkedIn kanban view.
Copy ApplicationID’s LinkedIn App then paste to LinkedIn Developer Application ID field.
Navigate to the Webhook tab on LinkedIn, press Create New and enter the following syntax: instant domain + /linkedin_webhook, e.g. viindoo.demo.com/linkedin_webhook.
Press Test this URL
After the URL is authenticated, the label ‘Verified’ will be displayed under the URL link.
Note
You have to complete step 2 first so that when you click Test this URL. Encouraged to press 3 times within 3 minutes to quickly proceed to the next step. The system needs to ensure stability for at least 6 hours from the time the Webhook URL is validated. LinkedIn will perform several checks during that time.
Set up to receive interaction notifications on the Viindoo system
Navigate to Social Marketing > Configuration > Social Media, press Create Webhook Subcriptions.
Integrate specific pages with the Viindoo system¶
After finishing the API integration, you need to link the system with specific social media pages that you want to manage.
Navigate to
. To link the Viindoo system with the enterprise’s page, find the social media that you want to link and press LINK ACCOUNT.The system will navigate you to a new tab with Facebook/Linkedin interface. Here, log in to your account to complete the connection.
Note
The connected account must be the administrator of the page.
After finishing the connection, return to the system and navigate to social media pages that are under your administration will appear here.
. All theIn case you only want specific pages, you can delete the connection by turning to list, selecting the pages, and pressing
to disconnect.Next, you can create the articles on the connected pages.
See also
Related article
Optional module