oembed

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2021 License: MIT Imports: 15 Imported by: 0

README

oEmbed

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

The CHATTERINO_API_OEMBED_PROVIDERS_PATH environment variable can be set to change where the file is loaded from, and if no environment variable is set it tries to load the file from ./providers.json.

If Facebook and Instagram oEmbed providers are in your providers.json file, you can specify the CHATTERINO_API_OEMBED_FACEBOOK_APP_ID and CHATTERINO_API_OEMBED_FACEBOOK_APP_SECRET environment variables 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() (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