Facebook: Sharing A Play Store Link Using The Share Dialog
I share a link using the share dialog from the Facebook Android SDK. My code looks like this: FacebookDialog shareDialog = new FacebookDialog.ShareDialogBuilder(this) .se
Solution 1:
Finally, I found a workaround using App Links, which is detailed here : https://developers.facebook.com/docs/applinks/hosting-api
I created my App Link object without any "-F web" parameter, like this:
curl https://graph.facebook.com/app/app_link_hosts \
-F access_token="APP_ACCESS_TOKEN" \
-F name="My app link" \
-F android=' [
{
"url" : "myapp://share/1234",
"package" : "com.company.myapp",
"app_name" : "My app",
},
]'
However, I don't understand why Facebook API works in a so weird way. It's a complicated solution to a simple issue.
Solution 2:
Solution 3:
In my case, I disable DeepLink in Facebook Developer Console and it work well.
Post a Comment for "Facebook: Sharing A Play Store Link Using The Share Dialog"