{"id":18538489,"url":"https://github.com/bryanbill/flutter_twitter_login_v2","last_synced_at":"2025-05-15T02:12:23.663Z","repository":{"id":111163241,"uuid":"536504620","full_name":"bryanbill/flutter_twitter_login_v2","owner":"bryanbill","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-14T09:27:07.000Z","size":75,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-17T07:45:05.417Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/bryanbill.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2022-09-14T09:27:03.000Z","updated_at":"2022-09-14T09:27:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"8bdb4d3e-c529-4157-89a9-5dd8f9de76f5","html_url":"https://github.com/bryanbill/flutter_twitter_login_v2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryanbill%2Fflutter_twitter_login_v2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryanbill%2Fflutter_twitter_login_v2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryanbill%2Fflutter_twitter_login_v2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryanbill%2Fflutter_twitter_login_v2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bryanbill","download_url":"https://codeload.github.com/bryanbill/flutter_twitter_login_v2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254259439,"owners_count":22040821,"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","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-11-06T19:43:59.949Z","updated_at":"2025-05-15T02:12:23.645Z","avatar_url":"https://github.com/bryanbill.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# twitter_oauth_v2\n\n![Pub Version](https://img.shields.io/pub/v/twitter_oauth_v2)\n\nFlutter Twitter Login Plugin\n\n## Install\n\n```\ntwitter_oauth_v2: ^0.0.1\n```\n\n## Android Configuration\n\n### Add intent filters for incoming links\n\n[/example/android/app/src/main/AndroidManifest.xm](https://github.com/anycloud-inc/flutter_twitter_oauth_v2/blob/master/example/android/app/src/main/AndroidManifest.xml)\n\nYou need to replace {example} with a Callback URLs.\n\n```xml\n\u003cintent-filter\u003e\n  \u003caction android:name=\"android.intent.action.VIEW\" /\u003e\n  \u003ccategory android:name=\"android.intent.category.DEFAULT\" /\u003e\n  \u003ccategory android:name=\"android.intent.category.BROWSABLE\" /\u003e\n  \u003c!-- Accepts URIs that begin with \"example://gizmos” --\u003e\n  \u003c!-- Registered Callback URLs in TwitterApp --\u003e\n  \u003cdata android:scheme=\"{example}\"\n        android:host=\"gizmos\" /\u003e \u003c!-- host is option --\u003e\n\u003c/intent-filter\u003e\n```\n\n### Supporting the new Android plugins APIs\n\nIf you created your project with a version prior to 1.12, you will need to update your project to use the new Java Embedding API.\nMake sure flutter_embedding v2 is enabled. Add the following code on the manifest file inside \u003capplication\u003e tag to enable embedding.  \nFlutter wiki: [Upgrading pre 1.12 Android projects.](https://github.com/flutter/flutter/wiki/Upgrading-pre-1.12-Android-projects)\n\n```xml\n\u003cmeta-data\n    android:name=\"flutterEmbedding\"\n    android:value=\"2\" /\u003e\n```\n\n## iOS Configuration\n\n### Add URLScheme\n\n[/example/ios/Runner/Info.plist](https://github.com/anycloud-inc/flutter_twitter_oauth_v2/blob/master/example/ios/Runner/Info.plist)\n\nYou need to replace {example} with a Callback URLs.\n\n```xml\n\u003ckey\u003eCFBundleURLTypes\u003c/key\u003e\n\u003carray\u003e\n  \u003cdict\u003e\n    \u003ckey\u003eCFBundleTypeRole\u003c/key\u003e\n    \u003cstring\u003eEditor\u003c/string\u003e\n    \u003ckey\u003eCFBundleURLName\u003c/key\u003e\n    \u003cstring\u003e\u003c/string\u003e\n    \u003ckey\u003eCFBundleURLSchemes\u003c/key\u003e\n    \u003carray\u003e\n      \u003c!-- Registered Callback URLs in TwitterApp --\u003e\n      \u003cstring\u003e{example}\u003c/string\u003e\n    \u003c/array\u003e\n  \u003c/dict\u003e\n\u003c/array\u003e\n```\n\n# Example of usage\n\n```dart\nfinal twitterLogin = TwitterLoginV2(\n    clientId: \"CLIENT_ID\", /// Consumer API keys\n    redirectURI: \"REDIRECT_URI\", /// Registered Callback URLs in TwitterApp\n);\n\nfinal accessToken = await twitterLogin.loginV2();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbryanbill%2Fflutter_twitter_login_v2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbryanbill%2Fflutter_twitter_login_v2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbryanbill%2Fflutter_twitter_login_v2/lists"}