What do you guys think about adding a " Link Preview " as in Facebook ? Would be a nice idea to have a sneak peak of what the link offers.
Link Preview
meetdilip Would be a nice idea to have a sneak peak of what the link offers.
This is already provided by MediaEmbed.
I don't see links converting to preview here. Why so ?
Link Preview is quite different from embed.
One example PHP library is https://github.com/kasp3r/link-preview
I'm going to bump this a year and a half later - link previews are essential, IMO. Everything does them these days. Is anyone aware of an existing extension that does this?
tobort There was one, it's likely out of date/nonworking now. https://github.com/ItalianSpaceAstronauticsAssociation/flarum-isaa-opengraph
I was going to work on this
Wouldn't be available for beta 7 though, since beta 8 is coming soon.
What is the update on this?
- Edited
Okay amazing magical developers out there! I’ve seen some cool new extensions this year. Some seem pretty complex, like they took a lot of hard work! So, I know for a fact there are dev community members here who could do this. Maybe even start with the outdated one above?
The coolest sites have link previews. I’m also not saying this extension would need to do any scraping. The first version could just look for OG tags and if the site has none, then no preview. First version could even omit the image. What would be the point? No image means less resource hogging. It could at least grab the URL’s title and description.
010101 getting OG tags still requires some kind of scraping though.
- Edited
An iFramelyintegration would be cool (Open source version). It's more universal than MediaEmbed
010101 i don't know if someone is working on this, but maybe we could use microlink:
any help on how to implement this? if someone help me a little i can implement this