IOS react-native-fbsdk-next. Token is generated as expired. Error: Dangerous credentials, GraphErrorCodeKey: 190

0
71


my package deal json(expo48):

"dependencies": {
"@babel/preset-typescript": "^7.18.6",
"@react-native-community/artwork": "^1.2.0",
"@react-native-community/viewpager": "5.0.11",
"widespread": "1.0.0",
"deprecated-react-native-prop-types": "^4.0.0",
"expo": "^48.0.0",
"expo-apple-authentication": "~6.0.1",
"expo-av": "~13.2.1",
"expo-device": "~5.2.1",
"expo-firebase-analytics": "~8.0.0",
"expo-font": "~11.1.1",
"expo-in-app-purchases": "~14.1.1",
"expo-keep-awake": "~12.0.1",
"expo-linear-gradient": "~12.1.2",
"expo-linking": "~4.0.1",
"expo-secure-store": "~12.1.1",
"expo-store-review": "~6.2.1",
"expo-updates": "~0.16.4",
"mobx": "^5.8.0",
"mobx-react": "5.4.3",
"node-libs-react-native": "^1.0.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-i18next": "9.0.8",
"react-native": "0.71.3",
"react-native-animate-number": "^0.1.2",
"react-native-confetti": "0.1.0",
"react-native-fbsdk-next": "^11.2.0",
"react-native-gesture-handler": "~2.9.0",
"react-native-google-mobile-ads": "^8.2.2",
"react-native-particles": "^0.0.8",
"react-native-progress": "^5.0.0",
"react-native-progress-circle": "^2.1.0",
"react-native-reanimated": "~2.14.4",
"react-native-redash": "^14.1.1",
"react-native-responsive-screen": "^1.4.1",
"react-native-root-toast": "^3.3.0",
"react-native-star-rating": "^1.1.0",
"react-native-svg": "13.4.0",
"react-native-svg-charts": "5.3.0",
"react-native-swipe-gestures": "^1.0.5",
"react-native-web": "0.17.7",
"react-native-tracking-transparency": "0.1.2",
"react-test-renderer": "18.0.0"
}

That is how i am getting my token:

 personal getCurrentAccessToken = async ()=> {
    let token = '';
    if (Platform.OS === 'ios') {
      LoginManagerFB.setLoginBehavior('browser')
      const consequence = await AuthenticationToken.getAuthenticationTokenIOS();
      console.log(consequence.graphDomain,consequence.nonce)
      token = consequence?.authenticationToken;
    } else {
      LoginManagerFB.setLoginBehavior('native_with_fallback')
      const consequence = await AccessToken.getCurrentAccessToken();
      token = consequence?.accessToken;
    }
    return token;
  };

That is how i take advantage of the token from above:

  fbGraphRequest = async (url:string, parameters:{[key: string]: unknown;}, accessToken:string) => {
    return new Promise((resolve, reject) => {
        const infoRequest = new GraphRequest(url, { accessToken,parameters},
          (error, consequence) => {
              if (error) {
                  console.log('Error fetching information: ', error);
                  reject(error);
              } else {
                  resolve(consequence);
              }
          }
        );

        new GraphRequestManager().addRequest(infoRequest).begin();
    });
  };

That is the error that i am getting:

....
"NSLocalizedRecoverySuggestion":"Please log into this app once more to reconnect your Fb account.",
"com.fb.sdk:FBSDKErrorDeveloperMessageKey":"Dangerous signature",
"com.fb.sdk:FBSDKGraphRequestErrorGraphErrorCodeKey":190,
"com.fb.sdk:FBSDKGraphRequestErrorHTTPStatusCodeKey":400,
"com.fb.sdk:FBSDKGraphRequestErrorKey":2
....

Utilizing mac, xCode and bodily system for testing is iphone 8. I’ve applied all the required steps from the documentation (https://github.com/thebergamo/react-native-fbsdk-next#limited-login-ios) however nothing works.

Did not work after:
Restarting the telephone.
Set up/uninistall fb app on the telephone.
Clearing venture, cache, podfile.lock, yarn.lock.

Word (working):
Login is working if i do not go the accessToken to GraphRequest
So it appear like this.
const infoRequest = new GraphRequest(url, {parameters}….

I do not know the way it’s attainable as a result of official documentation stated that accessToken is required for every name.