Difference between revisions of "YouTube integration"

From TITAN Wiki
Jump to: navigation, search
(Created page with "thumb '''YouTube integration''' allows you to use YouTube Subscriptions and use YouTube API to automatically adding YouTube Videos from choosed channel. == S...")
 
m
Line 1: Line 1:
[[File:Fb.jpg|thumb]]
 
 
 
'''YouTube integration''' allows you to use YouTube Subscriptions and use YouTube API to automatically adding YouTube Videos from choosed channel.
 
'''YouTube integration''' allows you to use YouTube Subscriptions and use YouTube API to automatically adding YouTube Videos from choosed channel.
  
Line 6: Line 4:
 
Follow the instructions below to complete your YouTube integration:
 
Follow the instructions below to complete your YouTube integration:
  
1.Go to [https://console.developers.google.com/com/ Google Developers Console]
+
1. Go to [https://console.developers.google.com Google Developers Console] and create new project
 +
 
 +
2. Click '''ENABLE APIS AND SERVICES''', find '''YouTube Data API 3''' on the list, choose it and enable it. See screenshot
 +
 
 +
3. Now, form left menu click '''Credentials''' then '''Credentials in APIs & Services'''. See screenshot
 +
 
 +
4. From Credentials list choose '''API Key''' and in popup which will appear click '''RESTRICT KEY'''
 +
 
 +
5. Copy your API key to Admin Panel (Website -> Settings -> Authentication), set name for your API and from '''API restrictions''' list choose '''YouTube Data API v3'''. Then Save. See screenshot
 +
 
 +
6. On credentials page go to '''OAuth consent screen''' tab and provide '''Application Name'''(that name will appear when your members would have to give permissions to your App) and '''Authorised domain''' (your website). See screenshot
  
2. Click "Create App ID"
+
7. Now create new credentials: '''OAuth client ID'''. See screenshot
  
3. On next step, fill textbox with your App name and enter your contact e-mail.
+
8. For Application type choose '''Web application''', type Name and in '''Authorised redirect URIs''' add your handler link:
 +
'''[http/https]://yourdomain.com/Handlers/Utils/YouTubeOAuth.ashx'''
 +
Example : https://demo.usetitan.com/Handlers/Utils/YouTubeOAuth.ashx
 +
Then click Create
  
4. Facebook App Dashbord appear, Go to ''App Review'' and Click YES, below "Make [Your App Name] as Public?"
+
9. Copy '''Client ID''' and '''Client Secret''' from popup to Admin Panel (Website -> Settings -> Authentication)
  
5. Go to Facebook App Settings -
+
<gallery>
* '''Click "Add Platform" Choose "Website", fill Website URL with your domain.'''
+
File:YT1.png|Step 2
* '''In Facebook App Settings enter value in App Domains as your website domain.'''
+
File:YT2.png|Step 3
6. Go to ''Titan Admin Panel --> Website -->Settings --> Facebook'' Tab and paste:
+
File:YT3.png|Step 5
* Copied App ID from Facebook App Settings into ''App ID field.''
+
File:YT4.png|Step 6
* Copied App Secret from Facebook App Settings into ''App Secret field.''
+
File:YT5.png|Step 7
7. Save all settings.<gallery>
 
File:1_step.png|Step 1
 
File:3_step.png|Step 2
 
File:4_step.png|Step 3
 
File:5b_step.png|Step 4
 
File:5c_step.png|Step 5
 
File:6_step.png|Step 6
 
 
</gallery>
 
</gallery>

Revision as of 14:24, 28 February 2019

YouTube integration allows you to use YouTube Subscriptions and use YouTube API to automatically adding YouTube Videos from choosed channel.

Setup instructions

Follow the instructions below to complete your YouTube integration:

1. Go to Google Developers Console and create new project

2. Click ENABLE APIS AND SERVICES, find YouTube Data API 3 on the list, choose it and enable it. See screenshot

3. Now, form left menu click Credentials then Credentials in APIs & Services. See screenshot

4. From Credentials list choose API Key and in popup which will appear click RESTRICT KEY

5. Copy your API key to Admin Panel (Website -> Settings -> Authentication), set name for your API and from API restrictions list choose YouTube Data API v3. Then Save. See screenshot

6. On credentials page go to OAuth consent screen tab and provide Application Name(that name will appear when your members would have to give permissions to your App) and Authorised domain (your website). See screenshot

7. Now create new credentials: OAuth client ID. See screenshot

8. For Application type choose Web application, type Name and in Authorised redirect URIs add your handler link: [http/https]://yourdomain.com/Handlers/Utils/YouTubeOAuth.ashx Example : https://demo.usetitan.com/Handlers/Utils/YouTubeOAuth.ashx Then click Create

9. Copy Client ID and Client Secret from popup to Admin Panel (Website -> Settings -> Authentication)