1

I'm building a sort of sharing system where users can paste links and share with their friends.

I want to be able to extract information like title, description and images when the user pastes a link. Would be similar as Facebook or LinkedIn.

The system has a "sharebox" where the user write a comment and pastes a link. Before save it, I need to retrieve some metadata to complete the basic information about the link.

I'm building the system with ReactJS backed by a REST API in NodeJS. Does anyone know about a package or library to do this?. Should be done in the Frontend, or needs interaction with the backend?.

Thanks.

2 Answers2

1

There are several implementations for parsing Open Graph meta tags.

You could try one of the PHP libraries:

Zack
  • 3,819
  • 3
  • 27
  • 48
0

Finally http://embed.ly/ did the trick for me!.