[英]How do I include an og excerpt for a blog post using jekyll?
Do you know how to pass a post's excerpt to facebook when sharing a link? 您知道共享链接时如何将帖子摘录传递给Facebook吗?
I have a jekyll blog and when people want to share a post they get this: 我有一个jekyll博客,当人们想要分享帖子时,他们会得到以下信息:
Example of a link I'm trying to share: 我尝试分享的链接示例:
Thanks 谢谢
If you want to add some cutomised text you should instead use Feed Dialog . 如果要添加一些特定文本,则应使用Feed Dialog 。
You can use the direct URL to invoke feed dialog: 您可以使用直接URL调用供稿对话框:
https://www.facebook.com/dialog/feed?
app_id={app-id}
&display=popup
&caption={caption}
&link={link-to-share}
&description={description}
&redirect_uri={redirect-url-to-your-site}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.