java - ParseLoginUI Facebook Integration - Stored Hash Keys Don't Match -
i've been following parseloginui tutorial here: https://github.com/parseplatform/parseui-android/tree/master/parseloginsamplewithdispatchactivity
in androidmanifest.xml, have:
<activity android:name="com.parse.ui.parseloginactivity" android:label="@string/app_name" android:launchmode="singletop"> <meta-data android:name="com.parse.ui.parseloginactivity.parse_login_enabled" android:value="true"/> <!--<meta-data--> <!--android:name="com.parse.ui.parseloginactivity.parse_login_email_as_username"--> <!--android:value="true"/>--> <meta-data android:name="com.parse.ui.parseloginactivity.facebook_login_enabled" android:value="true"/> <!--<meta-data--> <!--android:name="com.parse.ui.parseloginactivity.twitter_login_enabled"--> <!--android:value="true"/>--> </activity> ...and:
<meta-data android:name="com.parse.application_id" android:value="@string/parse_app_id" /> <meta-data android:name="com.parse.client_key" android:value="@string/parse_client_key" /> <meta-data android:name="com.facebook.sdk.applicationid" android:value="@string/facebook_app_id"/> in globalapplication class, have:
parsefacebookutils.initialize(this); i realize looks hash key problem, i've tried hashing , re-hashing using various methods found here: key hash android-facebook app
i'm hoping it's not trivial messing hash keys, because i've triple checked these. there wrong code?
what problem here? see attached image below:

i figured out! helps others well. there nothing wrong way generated hash keys. wasn't using signed release build while testing facebook hash. make sure generate signed apk, copy apk phone , install it, open app. when attempt login facebook still see error, displayed correct hash key, , want add exact value facebook app dashboard production hash!
Comments
Post a Comment