Facebook App Requests Aren't Shown on iOS Devices

Facebook App Requests aren't shown on iOS devices?

This is caused by an incorrect configuration on the Facebook app setting page. When you are setting up the app, you need to make sure the following is set correctly.

Go to developers.facebook.com then select "Apps". Edit your app and fill in the following..

  • iOS App Bundle (dont think it's essential but fill it in, this the bundle id from Xcode (com.companyname.appname))

  • iPhone/iPad App Store ID - This is ESSENTIAL, one of these must be filled in with a valid app store ID. You get this when you create an app with iTunes Connect. If you create an app, and fill in the details right up to the point where it asks you to submit the binary, it will generate what Apple refers to as an Apple ID (or iTunes Id?). It's just a long integer value. It doesn't have to be for the corresponding app, if you already have apps in the app store just log in to iTunes connect and use an existing one for testing.

  • Configured for iOS SSO - Enabled

  • Configured for Deep Linking - Enabled

The only functionality you get from Facebook when a user clicks an app notification on iOS is the user being redirected to the app, if installed, or to the App Store if not. Also if you want your app notifications to show up on desktop, you'll need a Canvas URL under the "App On Facebook" section.

In my tests I had to have a canvas URL to get iOS notifications working, but I'm not sure if this is a bug with Facebook or intended behaviour, so if it doesn't work with just iOS enabled, enable app on Facebook too and stick in a random url if you don't have one.

Does not receive any Request after sending out from iOS Facebook SDK

I found my solution here:
Facebook App Requests aren't shown on iOS devices?

It is because I didn't set the iPhone App ID and iPad App ID

Facebook not found error when clicking on notification sent from game request

Having just suffered through this, the answer is not deep linking in and of itself. For an iOS app, even if you are using Apache Cordova, or Phonegap, and the Wizcorp interface to the FB iOS sdk, you need to follow the iOS setup instructions carefully that setup URL Schemes which is needed for deep linking. But as I say, that's not enough.

This problem seems to related to getting Facebook login approval. When you click on the notification and the app is not approved, which is the case if you putting this together for the first time, even if you've an app already public on Facebook (using just the iOS sdk to say track installs), then you get this error. Once you submit your app (including uploading it for review) and they approve it, clicking on the game invite 'magically' works.

Ideally, the FB iOS app would issue some sort of debug information to let you know that, but it doesn't... grrr!

App request sent, count increases; Actual request never shown

After hours of debugging and looking at other peoples apps, I started digging into Facebook's bug tracker and found someone else with the same problem today Apparently there are a number of "request" bugs today.

https://developers.facebook.com/bugs/237217296327314

iOS Facebook sdk Invite to friend Reqest Sent but not getting Notificaton on friends

You have to configure your app on facebook by passing some dummy url, i was also facing the same problem, doing so worked for me.
Go to developer.facebook.com, choose your app, choose settings, AddPlatform---> addApplication, pass any dummy url there, also add image for your app which will be shown in notification from the app details scrren.

How to connect user's facebook account with an account in my app?

The mechanism for this is called Facebook Connect (or Single-Sign-On = SSO). Facebook provides API to connect both a regular website and an iOS app to a Facebook account. Facebook provides some excellent documentation, here is their iOS documentation for example: http://developers.facebook.com/docs/mobile/ios/build/

Facebook Connect gives you two main features:

  1. Let the users login to your website/app using their Facebook account. This means they don't need to register separately to your service if they're already registered with Facebook.

  2. Once they connect with Facebook, the website/app owner receives a token which lets you access some information about the user. For example, see the user's name, Facebook photo, email address, and in some cases also grant permissions to post on this user's Facebook wall.

Let's go over the different possible flows for a website:

  1. The user has already registered his own account on your website, and you let him connect their account to their Facebook account too.

  2. The user did not register his own account on your website. Instead, he logs into your website using his Facebook account. Once you notice this new user logged in, you automatically create a new account for him and take the info (such as email address) from their Facebook profile.

The flows for an app are pretty much the same. The main benefit for an app, is that people don't like to register for apps. Users don't like too many usernames and passwords. You will probably have more logged-in users if you allow them to use their existing Facebook account instead of creating a new one.



Related Topics



Leave a reply



Submit