{"id":4778,"url":"https://github.com/indatawetrust/react-native-youtube-oauth","last_synced_at":"2025-08-04T02:31:36.629Z","repository":{"id":57341695,"uuid":"89004071","full_name":"indatawetrust/react-native-youtube-oauth","owner":"indatawetrust","description":"react-native interface to login to youtube (iOS)","archived":false,"fork":true,"pushed_at":"2017-05-11T11:49:44.000Z","size":539,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-30T20:57:12.969Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"watzak/react-native-instagram-oauth","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/indatawetrust.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-04-21T16:35:07.000Z","updated_at":"2020-12-04T04:15:18.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/indatawetrust/react-native-youtube-oauth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/indatawetrust/react-native-youtube-oauth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indatawetrust%2Freact-native-youtube-oauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indatawetrust%2Freact-native-youtube-oauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indatawetrust%2Freact-native-youtube-oauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indatawetrust%2Freact-native-youtube-oauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/indatawetrust","download_url":"https://codeload.github.com/indatawetrust/react-native-youtube-oauth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indatawetrust%2Freact-native-youtube-oauth/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268639931,"owners_count":24282678,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-04T02:00:09.867Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-01-05T20:17:23.019Z","updated_at":"2025-08-04T02:31:36.346Z","avatar_url":"https://github.com/indatawetrust.png","language":"JavaScript","funding_links":[],"categories":["Components"],"sub_categories":["Integrations"],"readme":"# react-native-youtube-oauth\nreact-native interface to login to youtube (iOS)\n## Demo\nhttp://i.imgur.com/PmF7V9d.gif\n\n## Getting started\n\n1. `npm install react-native-youtube-oauth@latest --save`\n2. In XCode, in the project navigator, right click `Libraries` ➜ `Add Files to [your project's name]`\n3. Go to `node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj` ➜ and add `RCTLinking.xcodeproj`\n4. In XCode, in the project navigator, select your project. Add `libRCTLinking.a` to your project's `Build Phases` ➜ `Link Binary With Libraries`\n5. Click `RCTLinking.xcodeproj` in the project navigator and go the `Build Settings` tab. Make sure 'All' is toggled on (instead of 'Basic'). Look for `Header Search Paths` and make sure it contains both `$(SRCROOT)/../../react-native/React` and `$(SRCROOT)/../../../React` - mark both as `recursive`.\n6. Run your project (`Cmd+R`)\n7. Register a new client on youtube itself =\u003e https://console.developers.google.com/apis/credentials/oauthclient?project=\n![Alt Text](http://i.imgur.com/LeyB4zO.png)\n8. https://github.com/luisfcofv/react-native-deep-linking#for-ios\n\n## Usage\n\n```javascript\nimport RNYoutubeOAuth from 'react-native-youtube-oauth';\n\nconst youtubeConfig = {\n client_id: '\u003cYOUR CLIENT ID\u003e',\n redirect_url: '\u003cYOUR REDIRECT URL\u003e'\n};\n\nRNYoutubeOAuth({\n        // app routing scheme. to be used for redirecting.\n        scheme: 'app://',\n        client_id: youtubeConfig.client_id,\n        redirect_uri: youtubeConfig.redirect_uri,\n        state: '0123456789',\n      },\n      code =\u003e {\n       \n      });\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findatawetrust%2Freact-native-youtube-oauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findatawetrust%2Freact-native-youtube-oauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findatawetrust%2Freact-native-youtube-oauth/lists"}