opengraph 1.5.0 copy "opengraph: ^1.5.0" to clipboard
opengraph: ^1.5.0 copied to clipboard

Fetch and parse OpenGraph, Twitter Card, HTML meta and JSON-LD metadata from any URL, with a customizable cached link preview widget.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add opengraph

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  opengraph: ^1.5.0

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:opengraph/opengraph.dart';
3
likes
160
points
299
downloads
screenshot

Documentation

API reference

Publisher

verified publisherdatogedon.com

Weekly Downloads

Fetch and parse OpenGraph, Twitter Card, HTML meta and JSON-LD metadata from any URL, with a customizable cached link preview widget.

Homepage
Repository (GitHub)
View/report issues

Topics

#opengraph #link-preview #metadata #twitter-card #widget

License

MIT (license)

Dependencies

flutter, html, http, string_validator, visibility_detector

More

Packages that depend on opengraph