Deep linking on Android doesn't launch application and redirects to Android play market place

I'm facing a problem integrating the Facebook native app on android platform to my android native app.

Problem : The user is in FB app and clicks on the link corresponding to my app. The app should launch my app (expected behavior) but the FB app launches Google play store (actual behavior).

I have followed the procedure provided by the Facebook developer pages for native linking: http://developers.facebook.com/docs/mobile/android/deep_linking/

I have used the JDK Keytool to generate the Hash-key. But I found no errors no my Eclipse Logcat like invalid key. Am I missing something here, Please help me out.

Thanks in advance

Answers


Please Update below code of your application.

public void loginAndPostToWall() {
    facebook.authorize(this, PERMISSIONS, Facebook.FORCE_DIALOG_AUTH,
            new LoginDialogListener());
}

And see below link for more information.

Facebook issue


You are generating the hash wrong. Make sure you used the right command to generate the Hash:

keytool -exportcert -alias YOURALIASHERE -keystore YOURKEYHERE | openssl sha1 -binary | openssl base64

Make sure you used the correct password.


In addition to verifying the key-hash, also make sure the package name and class name you specify exactly match what is in your code.


Make sure you signed the application before uploading it to the device. Build it like it would require to upload into PlayStore.


"All bookmarks and requests link to your Android Native App or to a Market URL if the app is not installed" from here

your problem seems related to above. of your app is not installed in the user's device the link will take to market.


Need Your Help

Sequence Point warning in initializer list

c++ initializer-list sequence-points

I have a Parent class that takes two references that may or may not actually be references to the same thing. In this case when they are the same, I get a sequence point warning in the initializer ...

Django ListView Class with Mutli Query_sets Based On URL Slug

python django

Using Django 1.6, I have a class based view for viewing a log. With that, I have 2 different query_sets...for sorting the oldest date and the most recent date. I will be adding a couple of more query