Search code examples
xcodefacebook-graph-apibundle-identifier

iOS App development with Facebook API bundle ID error message


I'm developing an iOS App with Facebook API. The app was working fine but I started to get the below error;

"There was an error:fbplatse:{"message": "No Bundle ID has been set on the server" }. Please tap Cancel to return to APPNAME and try again."

Actually I don't think I made any changes to the server. Can you please help me to fix this?

Thanks, E.


Solution

  • Ok, I solved this problem.

    1. add your app's bundle ID into the 'Native iOS App' tab under 'developers.facebook.com/apps'
    2. Your app's bundle ID should be the same with the one above (Facebook developer page)
    3. After I added up my bundle ID, I started to receive 'com.facebook.sdk error code=2' messages. It is good to check this link which explains everything step by step about the error code and how to get rid of it.
    4. So, in my specific situation following worked; Device's Settings => Facebook and then log in with the credentials.

    I spent too much time on that but now it works!