package frameproto
import (
"io"
)
// WriteFrameButton4Target will write the HTML <meta/> element for the Frame-Protocol's (i.e., Farcaster Frame's) "fc:frame:button:4:target" name-value pair.
//
// For example, this call:
// var target string = "https://example.com/thing/do-it"
// frameproto.WriteFrameButton4Target(writer, target)
// Would write this HTML <meta/> element:
// <meta property="fc:frame:button:4:target" content="https://example.com/thing/do-it" />
func WriteFrameButton4Target(writer io.Writer, target string) error {
const property string = MetaPropertyFrameButton4Target
return writeMetaPropertyContent(writer, property, target)
}