Connecting Kentico to social media
Kentico supports connecting to Facebook, Twitter, and LinkedIn. Such connections allow you to:
- add and view posts and content updates on the social media
- monitor Twitter channel analytics
- log in to your websites using a Facebook account
- log in to your websites using a LinkedIn account
You connect to a social media by means of an app that you create on the social media, and then register the app within Kentico, as described on this page.
Creating Apps
Apps on social media serve as an interface for connecting other applications, such as Kentico, to the particular social media.
Creating a Facebook App
Important: The Facebook publishing functionality in Kentico 11 no longer works due to changes in the Facebook API and updated security requirements. To use the functionality, upgrade to Kentico 12 (Service Pack) and apply the latest hotfix.
Creating a Twitter App
- Go to https://apps.twitter.com/ and log in.
- Click Create New App.
- Fill in the required details and click Create your Twitter application.
- Required fields are marked with a star symbol.
- Switch to Permissions, select Read and Write and click Update settings.
- Switch to API keys and underYour access token, click Create my access token.
You now have the required data that you can use to register the Twitter app into Kentico.
Creating a LinkedIn App
Note: The Kentico 11 functionality for managing LinkedIn company profiles no longer works after May 1, 2019 (due to changes in the LinkedIn API, see the Developer Program Updates announcement for details). If you wish to use this functionality, you need to upgrade to the latest version of Kentico.
Registering Apps into Kentico
To be able to use social media features through apps, you must register the apps in the system. Depending on what social media features you want to use, you register your apps in different places:
- For posting to social media from within Kentico, register the app in Kentico in the Facebook, Twitter, or LinkedIn application.
Registering a Facebook app in Kentico
Open the Facebook application in Kentico and switch to the Apps tab.
Click New app.
Type a Display name you want to use for this app.
Enter your Facebook app’s credentials – Facebook App ID and Facebook App Secret.
- You can find the credentials at https://developers.facebook.com/apps, on your application’s Settings -> Basic tab.
- You can find the credentials at https://developers.facebook.com/apps, on your application’s Settings -> Basic tab.
Click Save.
The system saves the app’s credentials and the app appears in the list on the Apps page.
To finish the integration setup, create a page in Facebook -> Pages.
Registering a Twitter app in Kentico
- Open the Twitter application in Kentico and switch to the Apps tab.
- Click New app.
- Type a Display name you want to use for this app.
- Enter your Twitter app’s credentials – API key, API secret.
- You can get these on your API Keys page on Twitter:
- You can get these on your API Keys page on Twitter:
- Click Save.
The system saves the app’s credentials to the database and the app appears in the list on the Apps page.
To finish the integration setup, create a channel in Twitter -> Channels.
Required permissions for registering Apps
To register apps in Kentico, an administrator must grant you permissions for the Social media module. You need either Modify or Modify applications.