I am using facebook SDK 4.14.1. After clicking on like button, it redirects me to Like page. It says "via undefined" instead of my application name. What I did wrong?
Asked
Active
Viewed 61 times
2 Answers
1
Another solution is to add Facebook Application Name in the manifest
<meta-data android:name="com.facebook.sdk.ApplicationName"
android:value="@string/app_name" />

ronanglo
- 43
- 7
-
yes, already changed. Fined the meta name from fb source codes – hhs Oct 14 '16 at 14:40
0
Find the solution. Should call:
FacebookSdk.setApplicationId(getString(R.string.facebook_app_id));
FacebookSdk.setApplicationName("App Name");

hhs
- 716
- 1
- 6
- 22