Facebook SDK链接共享正在删除引荐网址

时间:2015-12-01 09:44:28

标签: android facebook sdk share

当我与推荐人共享链接时,Facebook SDK(v4.8)会将其从链接中删除。

例如,我有以下链接:

https://play.google.com/store/apps/details?id=com.mypackage.myapp&referrer=utm_source%3Dfacebook

墙上的实际帖子包含没有引荐来源的链接:

http://play.google.com/store/apps/details?id=com.mypackage.myapp

代码:

if (ShareDialog.canShow(ShareLinkContent.class)) {
        ShareLinkContent content = new ShareLinkContent.Builder()
        .setContentUrl(Uri.parse("https://play.google.com/store/apps/details?id=com.mypackage.myapp&referrer=utm_source%3Dfacebook"))
        .build();

        shareDialog.show(content);
}

0 个答案:

没有答案