`react-native-fbsdk-next` - how to pass credentials in js code?
 To use `react-native-fbsdk-next` and pass credentials in JavaScript code, you need to follow these steps:

1. Install the package:

First, install the package using npm or yarn:

```bash
npm install react-native-fbsdk-next
# or
yarn add react-native-fbsdk-next
```

2. Configure the package:

Before using the package, you need to configure it with your Facebook App ID. You can find the App ID in your Facebook Developer Dashboard.

Create a file called `FacebookSDK.js`:

```javascript
import { LoginManager } from "react-native-fbsdk-next";

const FB_APP_ID = "<your-facebook-app-id>";

export function initialize() {
  LoginManager.setLoginBehavior("native_with_fallback");
  LoginManager.initializeWithAppID(FB_APP_ID);
}
```

Replace `<your-facebook-app-id>` with your actual Facebook App ID.

3. Pass credentials in JavaScript code:

To log in a user, you can use the `LoginManager.logInWithPermissions` method. This method will open a Facebook login dialog and prompt the user to enter their credentials.
To pass credentials in js code, you can use the following syntax:

`FBSDKAccessToken.setAccessToken(<access_token>)`

where <access_token> is the access token that you want to use.