Skip to content Skip to sidebar Skip to footer

Error: Undefined Is Not An Object (evaluating 'nativegraphrequestmanager.start') - React-native-fbsdk (android)

Does anyone know how to solve it? Help please! Console error: Events.js //When i onPress appear the error. I think that my issue is here. import React, { Component } from 'react'

Solution 1:

Error: You need an accesToken before to use Graph. In the exaple accessToken isn't defined.

To get it you must login with facebook (LoginButton component). After, you can send this token through props and make request where you want.

It works with the configuration that you can find in the link (in the answer):

Configuration

Post a Comment for "Error: Undefined Is Not An Object (evaluating 'nativegraphrequestmanager.start') - React-native-fbsdk (android)"