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