Skip to main content

All Questions

Tagged with
1 vote
0 answers
20 views

When clicking on a facebook post, sometimes I receive fb deeplink and sometimes the universal link of my app

Since recently, Universal links were working well with our app but recently for some users while clicking on a facebook post we receive via func scene(_ scene: UIScene, openURLContexts URLContexts: ...
Alex Ad's user avatar
  • 21
0 votes
0 answers
37 views

Universal links, while clicking on a facebook post doesn't redirect on my iOS app for all users

We have implemented universal links since a moment on our app (so everything should be setted to make the universal links work with the well known and the metadata for facebook), but it seems that on ...
Alex Ad's user avatar
  • 21
-2 votes
1 answer
50 views

Implementing Facebook App Events in Legacy iOS Project Without Scene Delegate

I'm working on a legacy iOS project where the AppDelegate file exists, but there's no SceneDelegate. I need to implement Facebook App Events following the guidelines provided here: Facebook App Events ...
sangam pokharel's user avatar
0 votes
1 answer
79 views

Share photos and link using FBSDKShareKit on IOS

I am using FBSDKShareKit to share link and images on Facebook. When I share only photos it works fine, but when I share a link and photos at the same time it can only share the link, not the photos. ...
tú nguyễn's user avatar
0 votes
0 answers
61 views

How to make App Events work in Events Manager. IOS 14.5+

The overview tab displays actions such as install, open, buy. But there is no data about the percentage of ATE devices for IOS 14.5+. And so also in event testing. Nothing shows up. Looked all over ...
miks's user avatar
  • 13
0 votes
0 answers
100 views

Facebook Login for business stopped working after updating iOS Facebook SDK. Error: Invalid Scopes: opened

My Facebook login, in my mobile iOS app, was working great till I decided to update Facebook SDK for iOS. Now it returns the following error: Looking at my developers.facebook.com console I have the ...
Alessio Stramacci's user avatar
0 votes
0 answers
107 views

facebook App ID not found after adding firebase auth swift

Recently added firebase to my swift project, prior to this the login had worked but now the app works and loads but when I click my login button, it crashes and I get an error saying the facebook app ...
Shehzaad Daureeawoo's user avatar
0 votes
0 answers
53 views

Firebase Facebook Authentication publishing

So I am trying to incorporate facebook login to firebase app. I can log in only with my developer facebook account. Do I need to publish my app on facbook developer so that I can use facebook log in ...
LULULULALLA's user avatar
0 votes
0 answers
71 views

Import Facebook SDK for Ads Manager

I need to use Facebook Ads Manager to advertise my application, for this I need to have Facebook SDK in the application. So what I have done for this: I imported the Facebook SDK into the project via ...
miks's user avatar
  • 13
0 votes
0 answers
323 views

Facebook iOS SDK Disable auto log app events

According to the documentation for Facebooks iOS SDK, in order to turn off automatic events (specifically looking to turn off APP INSTALL), you need to set the following plist flag to false. ...
NickDK's user avatar
  • 1,009
0 votes
0 answers
21 views

Cannot find 'LoginInteractor' in scope

Hello I'm trying to make a connection via facebook in the project I already use a LoginInteractor but when I want to use the class in another file it does not find it. import Foundation import ...
tech's user avatar
  • 1
0 votes
0 answers
143 views

Facebook Deferred Deeplinking is always returning url is nil in iOS (14+)

I'm trying to calling the Deferred Deeplinking of Facebook with the function: AppLinkUtility.fetchDeferredAppLink { (url, error) in ... } I am taking the user permission consent alert before ...
Venky Siddani's user avatar
0 votes
0 answers
84 views

How to open facebook share dialog in my app browser when FB app not installed in device. IOS

Hello i am working on sharing and posting images, so i have taken reference from below links: https://developers.facebook.com/docs/sharing/ios If FB app installed then it working fine but it is not ...
Akash's user avatar
  • 491
1 vote
0 answers
358 views

What is the method for adding an attribution link when integrating the "Sharing to Instagram Stories" feature?

I integrated a feature in my Flutter app using iOS Custom URL Schemes, where I allow users to share content to Instagram Stories. I did this by following Meta's guide This is the Swift code that my ...
dozie's user avatar
  • 11
0 votes
1 answer
346 views

How to open the Facebook app on a specific profile from your iOS app?

A few days ago, the deep link I used for opening a Facebook profile directly in the Facebook app (if installed) stopped working. It opens the Facebook app, but displays the error message "This ...
Lavinia T.'s user avatar
-1 votes
1 answer
296 views

Facebook deep link notifications not opening iOS app

I'm new to this FB deep linking and followed all the steps mentioned in the documentation https://developers.facebook.com/docs/ios/deep-linking/ However, when I send the test deeplink from FB Ads ...
Vanitha Vijayakumar's user avatar
2 votes
1 answer
2k views

Facebook iOS SDK login error (Invalid Scopes: public_profile, openid.)

I receive the follow error when trying to login using the iOS Facebook SDK: Invalid Scopes: public_profile, openid. I have followed the instructions from here which has resulted in this set up: info....
user2872885's user avatar
-1 votes
1 answer
170 views

Facebook Login Swift UI granting permissions

I have a swiftUI function that is successfully logging in to facebook, but only if the permissions are just publicProfile and email, if I add any other permissions like the following loginManager....
fsdeveloper's user avatar
7 votes
1 answer
660 views

Is it feasible to integrate Facebook SDK 15.x with iOS using Objective C

We were able to test the FB iOS SDK 11.x which had the Objective-C interfaces, but would it be possible to do the same with FB iOS SDK 15.x since it seems to contain only Swift interfaces
Senthil Kumar's user avatar
0 votes
1 answer
47 views

How to override init(coder: NSCoder) for FacebookAuthToken

I'm trying to create a mock subclass for facebook AuthenticationToken This object has only one open init function init(coder: NSCoder) { } But I'm getting an error while I'm trying to create my init ...
Arthur's user avatar
  • 1,760
2 votes
0 answers
206 views

How to check if device gives consent for sharing data with Meta SKAdNetwork?

To use SKAdNetwork I need to set flag isAdvertiserTrackingEnabled either to true or to false. In Facebook documentation they say to set it according the device consent: https://developers.facebook....
Salome Tsiramua's user avatar
1 vote
1 answer
960 views

Facebook app not registering iOS installs

Recently our marketing team tried to set up Facebook Mobile App Ads but ran into the following issue. I reviewed our Facebook Apps developer page and noticed that while the Android app was tracking ...
Andy Joyce's user avatar
  • 2,822
0 votes
0 answers
46 views

PerformSegue after successful Facebook login

I'm trying to adopt Facebook login process for my application goals. After successful Facebook login, I want to send a User to another View. For this reason, I'm using PerformSegue in UserLoginManager ...
Mykyta Yarovoi's user avatar
2 votes
1 answer
1k views

Request Tracking Authorization for iOS Application Facebook App Events

I am trying to integrate app events for my iOS application. Below are the steps I have taken: Configured Facebook App and added iOS platform Linked ad account Set up dev environment and SDK ...
TharakaNirmana's user avatar
2 votes
0 answers
82 views

Issue with Deferred Deep Linking in iOS when run the Facebook live campaign

We're trying to implement deferred deep linking in one of our iOS applications to basically show the product details page when click on the ad but this is not working Consider the scenario When the ...
shoaib sheikh's user avatar
0 votes
1 answer
54 views

How to run code immediately after facebook login?

I am making an app supporting login with email and password, login with google and login with facebook. I have implemented login with email and google and am using firebase for user authentication and ...
Alex Aghajanov's user avatar
1 vote
0 answers
385 views

Malformed form-data Body for HTTP POST Request in Swift?

I'm writing a HTTP POST request for uploading media (images here) to WhatsApp via the Facebook Graph API, formatted as follows in their documentation: curl -X POST \ 'https://graph.facebook.com/v13....
faraz malik's user avatar
1 vote
0 answers
395 views

Disable "Login with the Facebook app" button on facebook login for ios

Is there any way to disable/hide the "Login with the Facebook app" button on facebook login for ios? I'm currently using the current fb-sdk version
forestvine's user avatar
0 votes
1 answer
941 views

Facebook Integration with ios fails with error message on simulator

After integrating with facebook when I tap on continue with FaceBook button on simulator, it popups this window on simulator..and when I tap on back to home it redirects me to login window and allows ...
Sarthak's user avatar
  • 29
1 vote
1 answer
2k views

Instance member 'logEvent' cannot be used on type 'AppEvents'; did you mean to use a value of this type instead?

I have used Facebook AppEvents in which I am getting error:- AppEvents.logEvent(.completedRegistration, parameters: [AppEvents.ParameterName.registrationMethod.rawValue: "customerId"])
Vikrant Bhatia's user avatar
0 votes
1 answer
731 views

Cannot convert '[String : Any]' to expected argument type '[AppEvents.ParameterName : Any]'

I have used Facebook(Meta) SDK and created parameters as [ AppEvents.ParameterName.content.rawValue: self.content, AppEvents.ParameterName.contentID.rawValue: self.contentId, AppEvents.ParameterName....
Vikrant Bhatia's user avatar
8 votes
1 answer
3k views

iOS Facebook SDK installation - App Events

I'm having a nightmare trying to install the Facebook SDK on iOS for app events analytics. The facebook documentation is terrible, and inconsistent, and I can't find any up to date installation ...
TimWhiting's user avatar
  • 2,491
4 votes
2 answers
2k views

Initialize Facebook Core SDK for iOS using Objective C?

I want to add the Facebook Events tracking to my app, but as it appears Facebook SDK documentation only provides the code in Swift language: class AppDelegate: UIResponder, UIApplicationDelegate { ...
Abdulrahman Alhayek's user avatar
4 votes
0 answers
2k views

Terminating app due to uncaught exception 'NSInternalInconsistencyException' in xcode 13.2.1

Here is my error message Thread 1: "Starting with v13 of the SDK, a client token must be embedded in your client code before making Graph API calls.\nVisit https://developers.facebook.com/apps//...
Test's user avatar
  • 141
0 votes
0 answers
91 views

Share video to Facebook via Graph iOS SDK

I try to upload video to Facebook using Graph API. But always see error message (#100) No permission to publish the video. Facebook app has Development mode. I created test user there. My role is ...
Taras's user avatar
  • 1,697
0 votes
0 answers
973 views

How to share an image from IOS app to Facebook?

I am trying to share an image from my app to a user's Facebook page. I believe I have all the Facebook set up done correctly and the dialog pops up with the image and lets me go through all the ...
Mike's user avatar
  • 1
0 votes
1 answer
1k views

Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[FBSDKApplicationDelegate initializeSDK]

I am working on a flutter project. Here I had to implement deeplink through notification. For this i am using flutter_facebook_app_links-2.0.0+2. I have done all the settings required for integrating ...
A_Rush's user avatar
  • 378
0 votes
1 answer
203 views

Xcode 13 'Flutter/Flutter.h' file not found when I add Facebook App Event

When i add Facebook App Events (v 12.3.2) to flutter project i have error in Xcode. This not help https://stackoverflow.com/questions/67998790/file-not-found-flutter-flutter-h[enter image description ...
Dawid Długosz's user avatar
3 votes
3 answers
3k views

Trouble logging in Instagram using "Login with Facebook" option

I implemented Instagram Login using Basic Display API. Everything works fine if the user enters their Instagram credentials in the web view that comes up on loading https://api.instagram.com/oauth/...
Vadim Dagman's user avatar
0 votes
1 answer
204 views

What is the best practice to retrieve Facebook user picture with Firebase in Swift?

I have the following method in a ViewModel to handle user clicks on a Facebook login button: import Foundation import FirebaseAuth import FacebookLogin /// A view model that handles login and logout ...
PipEvangelist's user avatar
0 votes
2 answers
411 views

Library not loaded: @rpath/FBSDKCoreKit.framework/FBSDKCoreKit

I've built a flutter app on windows PC and now I ran it on a VM Mac, I didn't all the right configurations and the app does build successfully. I'm using the Facebook login SDK and I followed the ...
Roee Tsur's user avatar
  • 101
4 votes
2 answers
5k views

setAdvertiserTrackingEnabled is not found in Settings Class of FBSDK?

I am trying to make setAdvertiserTrackingEnabled to true as mentioned in Facebook Advertiser Tracking Enabled like this // Set AdvertiserTrackingEnabled to true if a device provides consent Settings....
Islam Alshnawey's user avatar
3 votes
0 answers
278 views

Duplicate events Facebook Analytics iOS SDK

We want to stop Facebook Auto Events logging that includes AddToCart, Purchase, InitiateCheckout. We have toggled off Event Suggestions in Events manager and we have also forced through code to not ...
Mohammad Irfan's user avatar
1 vote
1 answer
2k views

Swift package manager make Package depend on remote XCFramework

I need to break app into modules distributed trough SPM. Each module can have some dependencies like FBSdk, Firebase and so on. To reduce build time I need to make my packages depend on binary ...
Sergey  Pekar's user avatar
  • 8,695
1 vote
1 answer
1k views

Facebook for Unity SDK (iOS) - FBSDKCoreKit-Swift.h not found

We're developing a game with Unity 2019.4.28f1 (XCode 12.4). I've upgraded Facebook to the latest sdk (11.0.0). Trying to build iOS, XCode gives me a strange error: "Swift Compiler error -- ...
erre's user avatar
  • 49
2 votes
1 answer
1k views

Swift Package: Dependent Package can't be found. Remedy?

Background: I made a successful package <--- dependency earlier today using a different dependency as a 'proof of concept'. However the Facebook SDK package dependency failed to be recognized: ...
Frederick C. Lee's user avatar
2 votes
2 answers
2k views

SwiftUI New App lifecycle how to connect the Facebook SDK

Im creating SwiftUI application with Firebase and Facebook authentication and I have a problem with basic setup. On Facebook for Developers there is tutorial how to setup application and replace whole ...
Łukasz Strzelecki's user avatar
3 votes
1 answer
2k views

Swift 5:- App ID not found. Add a string value with your app ID for the key FacebookAppID to the Info.plist or call [FBSDKSettings setAppID:]

After updating xCode from 12.4 to 12.5.1 we start to face crashing problem with Facebook SDK, we are using Swift package manager in our APP, but we received this message Terminating app due to ...
Ahmed Abdallah's user avatar
0 votes
0 answers
70 views

IOS13 Swift Facebook Login

I am using Facebook Swift Package. Completed all configuration, but couldnot find where i should put this code. Because there is no UIViewController anymore // Swift // // Add this to the header of ...
Musti's user avatar
  • 63
16 votes
4 answers
6k views

How to use AppEvents.activateApp() in 12.0.0 version

I have updated the FBSDKAppEvents to 12.0.0 version, and the function AppEvents.activateApp() in AppDelegate is now deprecated. I have searched in the Facebook documentation, and unfortunately I didn'...
M. Mansuelli's user avatar
  • 1,113

15 30 50 per page
1
2 3 4 5
26