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 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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