Questions tagged [react-native-fbsdk-next]

13 questions
1
vote
2 answers

Error: use of undeclared identifier 'FBSDKApplicationDelegate'

I installed react-native-fbsdk-next. Followed configuration steps. Wanted to build app on iOS (as usual). I am getting an error: use of undeclared identifier 'FBSDKApplicationDelegate' and the app won't build. The error: My AppDelegate.mm: #import…
1
vote
0 answers

unrecognized selector sent to instance in [FBSDKModelManager enable]

I upgrade expo project from 47 to 48 then this error occur from nowhere. It make app crash when starting. Nothing much in project was changed. Even if I try to disable all code and return only empty view in javascript side. The crash still occur. …
1
vote
1 answer

Does react-native-fbsdk-next open the facebook app natively or not?

I implemented the library in my project, but when calling facebook, a webview is always opened and not the native facebook app, even though I have it installed. This happens on IOS and Android. The idea would be to open the native app so that the…
1
vote
0 answers

react-native-fbsdk-next hidden modal on android

Calling LoginManager.logInWithPermissions(["public_profile"])on android opens the facebook modal, then when I click on continue, the modal closes, howewer it seems like a hidden modal is still present on the screen, since only after using the manual…
0
votes
0 answers

Why my custom params not received in Meta Dashboard (react-native-fbsdk-next)

Bug Report Not receive custom params in Meta Dashboard, it just show like this To Reproduce Integrating react-native-fbsdk-next to my project Trigger logEvent() inside my componentDidMount React Native When I trigger the custom parameters from…
Yuza
  • 2,072
  • 2
  • 10
  • 14
0
votes
1 answer

How to use multiple pixel ids in one react native app for tracking?

I have a app in react native. I want to track facebook pixel events on 2 different pixel accounts. I am using react-native-fbsdk-next I have tried adding Settings.setAppID('PIXEL_1'); Settings.setAppID('PIXEL_2'); but not working. As default pixel…
0
votes
0 answers

Graph API v11.0

I recently received this message from Facebook: "Your application, "My App Name", is currently accessing Graph API v11.0 which will reach the end of its 2 year lifespan on September 14, 2023. To ensure a smooth transition please migrate all calls to…
0
votes
0 answers

React Native Facebook Login iOS AppDelegate inheritance from Expo class

I am working through the steps to add Facebook login to my react native iOS app. I am using react-native-fbsdk-next. The documentation says slightly different things in different places. In one place it says to put this into…
Marc
  • 3,386
  • 8
  • 44
  • 68
0
votes
0 answers

In React Native, how can we share screenshot with a predefined message on facebook or instagram?

In react native, im using react-native-share and viewshot package to screenshot. I want to share the screenshot with a message or link but on facebook either i can upload message or add url.I'm able to send image with message on other platform like…
0
votes
0 answers

react-native-fbsdk-next Custom data in Params not appearing in Events Manager

I have an issue sending custom parameters to the Facebook Events Manager using the library react-native-fbsdk-next. I can see the events coming in, but they don't have any parameters. Here is the example of how I send the data: const payload:…
0
votes
0 answers

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

my package json(expo48): "dependencies": { "@babel/preset-typescript": "^7.18.6", "@react-native-community/art": "^1.2.0", "@react-native-community/viewpager": "5.0.11", "common": "1.0.0", "deprecated-react-native-prop-types": "^4.0.0", "expo":…
0
votes
0 answers

What will be changed if prebuild in React Native Expo Poject?

I want to use react-native-fbsdk-next in Expo project (Expo SDK 46) https://github.com/thebergamo/react-native-fbsdk-next The package doesn't support expo install, so I have to use npx expo prebuild to release iOS and Android folder. But as the doc…
Morton
  • 5,380
  • 18
  • 63
  • 118
0
votes
0 answers

react native fb login gives "The supplied auth credential is malformed or has expired"

Not able to get firebase auth tried everything but getting following issue: [Error: [auth/invalid-credential] The supplied auth credential is malformed or has expired. [ Invalid access_token, error code 43 ]] Here is my code in react native: const…