Zobrazit stránku Starší verze Zpětné odkazy Přejmenovat stránku ====== Social media channel setup ====== ===== Facebook/Instagram ===== Facebook pages and instagram are linked together. If you want to subscribe an instagram channel, the channel MUST have a facebook page associated with it. If there is no facebook page, one must be created even for the sole purpose of connecting the instagram channel to it. Without a facebook page, it is not possible to subscribe to instagram posts. Quick links: * [[#setting_up_a_facebook_app|Facebook App setup]] * [[#content_hub_setup|Content hub setup]] * [[#channel_authorization|Authorize channels]] ===== Facebook/Instagram ===== ==== Setting up a facebook App ==== In order to setup facebook and instagram, a Facebook developer app must be created. Go to [[https://developers.facebook.com/|Facebook developers]] and create a new App {{ :skoda-ep:content-hub:social-media:facebook-app-01.png |}} {{ :skoda-ep:content-hub:social-media:facebook-app-02.png |}} When created, go to Settings -> Basic. This is where you will receive App ID and App Secret needed for the content hub {{ :skoda-ep:content-hub:social-media:facebook-app-03.png |}} ==== Content hub setup ==== Once the app is ready, you need to copy App ID and App Secret to Content Hub. Go to content hub URL /social-media ([[:skoda-ep:content-hub#environments|check which URL]] to use based on environment) Click the + button to start adding an App {{ :skoda-ep:content-hub:social-media:social-media-01.png |}} Copy over an App ID and App Secret {{ :skoda-ep:content-hub:social-media:social-media-02.png |}} ==== Channel authorization ==== When the App is added to content hub, you need to authorize channels that can be fetched through your account. Start by clicking the + button {{ :skoda-ep:content-hub:social-media:social-media-03.png |}} You will be presented with a popup from facebook, where you need to authorize your channels. This includes instagram and facebook pages. {{ :skoda-ep:content-hub:social-media:facebook-oauth-01.png |}} {{ :skoda-ep:content-hub:social-media:facebook-oauth-02.png |}} When you select your instagram channels and pages, you need to setup permissions, Make sure **Receive your timeline posts**, **Receive your email address** and **Access profile and posts from the Instagram account connected to your Page** is disabled. Enable **Manage your pages** {{ :skoda-ep:content-hub:social-media:facebook-oauth-03-v2.png |}} When you have added your user, click the users icon to see all users added to the Facebook App {{ :skoda-ep:content-hub:social-media:social-media-04.png |}} Click the + icon to add a new page {{ :skoda-ep:content-hub:social-media:social-media-05.png |}} Now select the page that you want to download feed from {{ :skoda-ep:content-hub:social-media:social-media-06.png |}}