How to set FacebookDisplayName?

1.4k Views Asked by At

I recently hit a problem while trying to integrate FaceBook in an iOS app. Fortunately I found the answer here: Facebook SDK: app not registered as a URL Scheme

This is where I have a question: In the post mentioned above the answer gives the following as the second step:

Create a key called FacebookDisplayName with a string value, and add the Display Name you configured in the App Dashboard.

How do I write this Display Name in case it is changing according to the user Language Settings? I tried ${DisplayName} or ${CFBundleDisplayName} but I have no confidence I am using the right syntax and name.

1

There are 1 best solutions below

0
On

In the InfoPlist.strings you can add

FacebookDisplayName = "AppName";

for all the languages you have implemented. This way it will be consistent to the facebook configured details regardless of what your app is really called on the device.