在Facebook上将帖子分享为帖子(不引用)

时间:2019-03-19 13:14:44

标签: ruby-on-rails facebook-share socialshare

我目前正在使用Ruby On Rails gem social_share_buttons,每当我通过可共享的链接共享帖子时,该帖子的名称为USER shared a quote,而不是USER shared a post。要求不要以帖子形式分享帖子。如果您在共享之前输入文本,则引用将成为帖子。如果这是Facebook的限制,那么如果能绕开它,我将非常高兴

1 个答案:

答案 0 :(得分:0)

In their source code, you can see they are passing the data to the facebook/sharer.php url with the "quote" param renders the post as a quote. But after some testing and researching, it seems that any description or quote param is treated as a quote by the user. This plugin doesn't support non-quote text in a post by default.

Facebook (among others) has an extremely tight API now. It's hard to get a hobby application approved. However, if this feature is important, you'd need to use the Dialog API and get your app approved to get your app_id before you can begin implementing this solution.