Scrape URLs

Last Edit: Nov 02 2020

This endpoint allows you to retrieve open graph information from a URL which you can then use to add images and a description to activities. For example:

const preview = await client.og('');

Returns the following:

   "title":"The Rock (1996)",
   "description":"Directed by Michael Bay.  With Sean Connery, Nicolas Cage, Ed Harris, John Spencer. A mild-mannered chemist and an ex-con must lead the counterstrike when a rogue group of military men, led by a renegade general, threaten a nerve gas attack from Alcatraz against San Francisco."
Some URLs from popular services such as Instagram, Youtube, etc. resolve to their CDN and they have signatures on them which expire after some time. There is no clear information on when these links expire. However, if you think your older data requires these links to stay valid, please consider refreshing the open graph data by calling this endpoint and updating your metadata.

User agents

Our scraper uses the following user agent, as well as the latest desktop and mobile user agents: facebookexternalhit/1.1 (+

If you plan to scrape any links to websites you can control, please ensure that this user agent isn't blocked and returns valid opengraph data, for the best results.