Skip to content

Commit e1f4d37

Browse files
authored
Update youtube.mdx
Added 'OAuth2Redirect' snippet and removed duplicate content in URI section.
1 parent dbc799d commit e1f4d37

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pages/providers/youtube.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
12
---
23
title: YouTube
34
description: How to add YouTube to your system
45
---
56

67
import {Steps, Callout} from "nextra/components";
8+
import OAuth2Redirect from "../../components/snippets/oauth2redirect.tsx";
79

810
<Callout>
911
This integration requires that you have a Google account.
@@ -37,10 +39,6 @@ Under "Authorized redirect URIs", insert your OAuth2 Redirect URI.
3739

3840
<OAuth2Redirect provider = "youtube" />
3941

40-
The redirect URI is the URL that YouTube will redirect to after you have logged in. Assuming you are running Postiz on `postiz.example.com`, this would be: `https://postiz.example.com/integrations/social/youtube`. Alternatively if you are running on `localhost:4200`, this would be `http://localhost:4200/integrations/social/youtube`. You only really need one of these, depending on where you are running Postiz.
41-
42-
You can find this in the **OAuth2** section of the Discord Developer Portal.
43-
4442
### Step 7 Activate YouTubes API
4543
Go to Activated APIs and Services. Then click on Activate APIs and Services. Search YouTube Data API v3 and activate the API by clicking it and clicking Activate.
4644
Do the same Process with YouTube Analytics API and YouTube Reporting API.

0 commit comments

Comments
 (0)