Search code examples
iosfacebookfacebook-ios-sdkfacebook-ads-apifacebook-events

Facebook Codeless Event - iOS app does not connect to Events Manager


I'm trying to get Facebook Codeless Event to work, but I can't seem to connect my app to Events Manager.

Followed instruction from this article: https://developers.facebook.com/docs/app-events/codeless-app-events/#ios

After updating Facebook Core SDK to 4.39.1 and even including Marketing SDK just in case. Included I went to Facebook app, and it did have check mark to say that my SDK version is compatible.

Then, the instruction say to open new session and shake the app, but even after vigorous shaking for more than 10 seconds, nothing happens in the app nor in the web browser.

Anybody know what can be done to properly set it up?

connect-your-app-to-evens-manager


Solution

  • I was able to get this working by not using Facebook SDK directly from website, but using Carthage to get the frameworks.

    By getting 4.40.0 version from Carthage, shaking to connect to the Event Manager worked. There were some error creating events, but this is out of scope for this question, so I will mark this as solved.

    Only setting that seems to be needed to connect correctly were: Facebook App Id and bundle id.