FB.ui Facebook分享不适用于帖子吗? [英] FB.ui Facebook share doesn't work on posts?
本文介绍了FB.ui Facebook分享不适用于帖子吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我打电话时,
FB.ui({
method: 'share',
// this works fine
href: 'https://www.facebook.com/'
// this works fine
href: 'https://www.facebook.com/678506978/'
// this doesn't
href: 'https://www.facebook.com/678506978/posts/10152685321776979'
});
更具体地说,该窗口会弹出,但是它只是一个空白的共享窗口,下面没有任何内容可以显示我正在共享的内容.在单击Post to Facebook
之后,它没有出现在我的时间轴中,这与前两个不同.
More specifically, the window pops up alright, but it's just a blank share window, with nothing beneath to show what I'm sharing. And after I clicked Post to Facebook
, it doesn't appear in my timeline, unlike the former two.
我的问题:如何共享帖子?
My question: how to make sharing a post work?
推荐答案
In the end I had to make use of the supposedly deprecated feed
action:
FB.ui({
method: 'feed',
link: 'link of post',
name: 'title of post',
caption: 'description'
});
有效.
这篇关于FB.ui Facebook分享不适用于帖子吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文