oembed

package
v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2022 License: MIT Imports: 15 Imported by: 0

README

oEmbed

The oEmbed resolver requires a providers.json to be loadable from the application.

The oembed-providers-path config option can be set to change where the file is loaded from (defaults to ./data/oembed/providers.json).

If Facebook and Instagram oEmbed providers are in your providers.json file, you can specify the oembed-facebook-app-id and oembed-facebook-app-secret config options to grant Authorization for those requests, giving you rich data for Facebook and Instagram posts.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg config.APIConfig) (resolvers []resolver.CustomURLManager)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL