Reputation: 4807
I have some problem with facebook SKD. I get invalid app ID when I am trying to login. Can you please help me figure out what the problem is?
My facebook app looks like this:
Manifest:
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.facebook.FacebookActivity"
android:label="@string/app_name"
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="70208723325****" />
</application>
Upvotes: 1
Views: 8789
Reputation: 1041
In case anyone has this problem, I fixed it with not putting the appId value directly in the manifest file. Instead you should put it in strings and then in manifest you put
<meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/>
It's strange but it works for me.
Upvotes: 3
Reputation: 105
1.Try to change the facebook status and review as yes. 2.Enter the Key hash value (Setting -> keyhash).
Upvotes: 0