Skip to content
This repository has been archived by the owner on Nov 30, 2024. It is now read-only.

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
myConsciousness authored Jun 22, 2022
1 parent b7f2656 commit 5f9578d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,14 +153,14 @@ class _ExampleState extends State<Example> {
Text('Refresh Token: $_refreshToken'),
ElevatedButton(
onPressed: () async {
final oauth = TwitterOAuth(
final oauth2 = TwitterOAuth2Client(
clientId: 'YOUR_CLIENT_ID',
clientSecret: 'YOUR_CLIENT_SECRET',
redirectUri: 'org.example.android.oauth://callback/',
customUriScheme: 'org.example.android.oauth',
);
final response = await oauth.executeAuthCodeFlowWithPKCE(
final response = await oauth2.executeAuthCodeFlowWithPKCE(
scopes: Scope.values,
);
Expand Down

0 comments on commit 5f9578d

Please sign in to comment.