og abstract method

Future<OpenGraphData> og(
  1. String targetUrl
)

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:

final urlPreview = await client.og(
  'http://www.imdb.com/title/tt0117500/',
);

Implementation

Future<OpenGraphData> og(String targetUrl);