{"id":28070122,"url":"https://github.com/netceteragroup/react-native-twitterkit","last_synced_at":"2025-10-15T04:43:35.791Z","repository":{"id":80889917,"uuid":"85955657","full_name":"netceteragroup/react-native-twitterkit","owner":"netceteragroup","description":"A React Native wrapper around Fabric's TwitterKit.","archived":false,"fork":false,"pushed_at":"2019-10-02T15:57:53.000Z","size":58336,"stargazers_count":22,"open_issues_count":13,"forks_count":10,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-05-12T19:49:55.036Z","etag":null,"topics":["react","react-native","twitter"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/netceteragroup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-03-23T13:55:12.000Z","updated_at":"2021-03-11T05:04:16.000Z","dependencies_parsed_at":"2023-03-07T07:15:12.909Z","dependency_job_id":null,"html_url":"https://github.com/netceteragroup/react-native-twitterkit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/netceteragroup/react-native-twitterkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netceteragroup%2Freact-native-twitterkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netceteragroup%2Freact-native-twitterkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netceteragroup%2Freact-native-twitterkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netceteragroup%2Freact-native-twitterkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netceteragroup","download_url":"https://codeload.github.com/netceteragroup/react-native-twitterkit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netceteragroup%2Freact-native-twitterkit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279049923,"owners_count":26093382,"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-10-15T02:00:07.814Z","response_time":56,"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":["react","react-native","twitter"],"created_at":"2025-05-12T19:37:44.712Z","updated_at":"2025-10-15T04:43:35.786Z","avatar_url":"https://github.com/netceteragroup.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Native Twitter Kit\n[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)](https://github.com/netceteragroup/react-native-twitterkit/blob/master/LICENSE)\n\n## Getting started\n\n`$ npm install netceteragroup/react-native-twitterkit --save`\n\n### Mostly automatic installation\n\n`$ react-native link react-native-twitterkit`\n\n### Manual installation\n\n\n#### iOS\n\n1. In XCode, in the project navigator, right click `Libraries` ➜ `Add Files to [your project's name]`\n2. Go to `node_modules` ➜ `react-native-twitterkit` and add `RNTwitterkit.xcodeproj`\n3. In XCode, in the project navigator, select your project, and select the target. Add `libRNTwitterkit.a` to your project's `Build Phases` ➜ `Link Binary With Libraries`\n4. See https://fabric.io/kits/ios/twitterkit/install and https://docs.fabric.io/apple/twitter/advanced-setup.html for more details on how to integrate the initialization\n5. Run your project (`Cmd+R`)\n\n#### Android\n\n1. Append the following lines to `android/settings.gradle`:\n  \t```\n  \tinclude ':react-native-twitterkit'\n  \tproject(':react-native-twitterkit').projectDir = new File(rootProject.projectDir, \t'../node_modules/react-native-twitterkit/android')\n  \t```\n2. Insert the following lines inside the dependencies block in `android/app/build.gradle`:\n  \t```\n      compile project(':react-native-twitterkit')\n  \t```\n3. Open up `android/app/src/main/java/[...]/MainApplication.java`\n  - Add `import com.netcetera.reactnative.twitterkit.RNTwitterKitPackage;` to the imports at the top of the file\n  - Add `new RNTwitterKitPackage()` to the list returned by the `getPackages()` method\n  - You will need Consumer key, and consumer secret, from an already registered app on Twitter\n  - In `android/app/src/main/java/[...]/MainApplication.java` in the `onCreate` method, you need to initialize the TwitterKit module by adding the following lines\n    ```java\n    TwitterAuthConfig authConfig = new TwitterAuthConfig(CONSUMER_KEY, CONSUMER_SECRET);\n    final Fabric fabricOpts = new Fabric.Builder(getApplicationContext())\n      .kits(new Twitter(authConfig) /* maybe some other frameworks from Twitter such as Crashlytics */)\n      .build();\n    Fabric.with(fabricOpts);\n    ```\n\n## Usage\n```javascript\nimport {TweetView} from 'react-native-twitterkit';\n\nfunction Section({tweetid}) {\n  return (\n    \u003cTweetView {...tweetid} /\u003e\n  );\n}\n```\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetceteragroup%2Freact-native-twitterkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetceteragroup%2Freact-native-twitterkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetceteragroup%2Freact-native-twitterkit/lists"}