I\'ve been following the following tutorial to integrate my app with Facebook. Facebook tutorial
I\'ve followed everything on the tutorial, but I\'ve been getting
The problem is that the id is being converted to integer: https://code.google.com/p/android/issues/detail?id=78839
In my case the facebook_app_id was being set from the build.gradle file per flavor.
The solution was to wrap the id with ":
flavor.resValue "string", "facebook_app_id", "\"1111111111111\""
or if you would rather avoid escaping:
flavor.resValue "string", "facebook_app_id", '"1111111111111"'