我使用了telescope (meteor开源项目),我想在Facebook上分享post链接而不是源代码链接;所以我在telescope-module-share包中这样做了:
sourceLink: function(){
return window.location.origin + "/posts/"+this._id;
},它工作得很好,除了当我在Facebook上分享帖子时,它显示的是主页的标题和描述,而不是分享的帖子!
任何人都有办法解决它,请!
发布于 2015-05-04 05:01:35
考虑使用服务器端渲染,有一个很棒的包可以做到这一点:https://github.com/meteorhacks/meteor-ssr
https://stackoverflow.com/questions/30019115
复制相似问题