pavelk2 / social-feed

JavaScript plugin that shows a user feed from the most popular social networks
http://pavelk2.github.io/social-feed-example/
MIT License
963 stars 304 forks source link

URL to Facebook post instead of media item #299

Open Chelydra opened 6 years ago

Chelydra commented 6 years ago

When using the Facebook feed, i would like to link to a specific post instead of the media item. Right now it is opening the media item inside the Facebook Lightbox/Mediabox. Is there a way to just link to the post like: /posts/1580982215323057 (post ID itself) right now it links like: /photos/a.520800188007937.1073741828.225245184230107/1581924578562154/?type=3 (right now linking to specific media)

martijngastkemper commented 6 years ago

I found some information after searching for "facebook link to specific post" on Google. (https://www.thesocialmediahat.com/article/how-link-facebook-post https://www.facebook.com/help/community/question/?id=282662498552845). Maybe you can build an url with the details from the API.