我创建分享facebook按钮,我在教程开发者facebook中一步一步地按照,但是当我尝试共享链接时,仅登录白屏后。我正在使用sdk 4.7
这是我的代码:
ShareButton tosharefb = (ShareButton) findViewById(R.id.sharefb);
ShareLinkContent content = new ShareLinkContent.Builder()
.setContentUrl(Uri.parse("https://www.youtube.com/watch?v=aT6kf9rN23Y"))
.build();
tosharefb.setShareContent(content);