Do you know how to pass a post's excerpt to facebook when sharing a link?
I have a jekyll blog and when people want to share a post they get this:
Example of a link I'm trying to share:
Thanks
If you want to add some cutomised text you should instead use Feed Dialog .
You can use the direct URL to invoke feed dialog:
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}
Check all available parameters here
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.