请问下大家怎么在自己规定的区域放fb用户的头像(已获取图片)。
/*分享/
facebook_share(CallBack: (share: boolean) => void) {
if (typeof FBInstant === 'undefined') return;
FBInstant.shareAsync({
intent: 'SHARE',
image:this.getShare(650, 380, "share"),//这个是背景图
text: FBInstant.player.getName() + " Let's play game together",
data: { myReplayData: '...' },
}).then(() => {
CallBack(true);
}).catch(() => {
CallBack(false);
});
}