YouTube Connector
YouTube affinity data pulled from likes, dislikes, subscriptions, and playlists.
Updated 19 March 2026
youtubeconnectorvideooauth
YouTube Connector
YouTube affinity data pulled from likes, dislikes, subscriptions, and playlists.
Connector Metadata
| SDK connector id | youtube |
| Works on | Web, React Native, Swift, Mobile OAuth |
| Current collection surface | Web OAuth, Mobile OAuth |
| Information density | Very high |
| Signal quality | High |
| Best for | Entertainment taste, learning interests, creator affinity, topic preferences, and visual content signals. |
Activation
To show this connector in the SDK, add youtube to the platform allowlist for the SDK surface you are using.
Web
<OnairosButton
webpageName="YourApp"
requestData={['preferences', 'personality']}
allowedPlatforms={['youtube']}
onComplete={(result) => console.log(result)}
/>
React Native
<OnairosButton
AppName="YourApp"
allowedPlatforms={['youtube']}
recommendedPlatforms={['youtube']}
onComplete={(result) => console.log(result)}
/>
Swift
let config = OnairosConfig(
apiKey: "your_api_key",
platforms: [.youtube],
recommendedPlatforms: [.youtube],
urlScheme: "yourapp",
appName: "YourApp"
)
Connector ids are lowercase
Use youtube in allowedPlatforms. Display names such as YouTube may work on some SDK surfaces, but lowercase connector ids are the safest cross-platform choice.
Current SDK Surface
Web OAuthMobile OAuth
What We Collect
- Liked videos and disliked videos, including paginated collection paths used for training.
- Subscribed channels from the subscriptions endpoint.
- Playlists and playlist items tied to the authenticated user.
Current Onairos Handling
- Collected through the YouTube connection and sync flow.
Notes
- Onairos uses likes, dislikes, subscriptions, playlists, and playlist items to model preference signals.
- Watch-history collection is not part of this documented connector surface.