From b111c106e0980e3365add53c7c3c99c61650afa0 Mon Sep 17 00:00:00 2001 From: Joe Dolson Date: Tue, 15 Aug 2023 16:00:03 -0500 Subject: [PATCH] Update set up directions --- src/wp-to-twitter-oauth.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/wp-to-twitter-oauth.php b/src/wp-to-twitter-oauth.php index 634a37f..1649b5e 100644 --- a/src/wp-to-twitter-oauth.php +++ b/src/wp-to-twitter-oauth.php @@ -396,16 +396,12 @@ function wtt_connect_oauth( $auth = false ) {

' . __( 'The X.com version 2 API requires an additional API setting in your connection settings.', 'wp-to-twitter' ) . '

  1. ' . __( 'Go to the X.com Developer Dashboard', 'wp-to-twitter' ) . '
  2. +
  3. ' . __( 'If prompted, create a project to use v2 endpoints. Follow the prompts to use your app.', 'wp-to-twitter' ) . '
  4. ' . __( 'Open your existing App.', 'wp-to-twitter' ) . '
  5. ' . __( 'Choose the Keys and Tokens tab', 'wp-to-twitter' ) . '
  6. ' . __( 'Generate the Bearer Token', 'wp-to-twitter' ) . '
  7. ' . __( 'Copy and Save your Bearer Token', 'wp-to-twitter' ) . '
  8. -
-

' . __( 'The version 2 API also requires that all applications are associated with a Project.', 'wp-to-twitter' ) . '

-
    -
  1. ' . __( 'Choose "Projects and Apps" from the dashboard menu.', 'wp-to-twitter' ) . '
  2. -
  3. ' . __( "Create a Project if you don't have one.", 'wp-to-twitter' ) . '
  4. -
  5. ' . __( 'Add your App to your new Project.', 'wp-to-twitter' ) . '
  6. +
  7. ' . __( 'If you already had a project, assign your app to the project.', 'wp-to-twitter' ) . '
'; $bt_form = sprintf( $bt_form, '' ) . '';