initial commits
parent
a22d4dbcf3
commit
5050382df9
|
@ -10,7 +10,7 @@ import (
|
|||
//
|
||||
// var buttonAction string = "post"
|
||||
//
|
||||
// frameproto.WriteFrameButton1Action(writer, aspectRatio)
|
||||
// frameproto.WriteFrameButton1Action(writer, buttonAction)
|
||||
//
|
||||
// Would write this HTML <meta/> element:
|
||||
//
|
||||
|
@ -21,18 +21,22 @@ import (
|
|||
//
|
||||
// Which in code would be used as:
|
||||
//
|
||||
// // <meta property="fc:frame:button:1:action" content="link" />
|
||||
// frameproto.WriteFrameButton1Action(writer, frameproto.ButtonActionLink)
|
||||
//
|
||||
// And:
|
||||
//
|
||||
// // <meta property="fc:frame:button:1:action" content="mint" />
|
||||
// frameproto.WriteFrameButton1Action(writer, frameproto.ButtonActionMint)
|
||||
//
|
||||
// And:
|
||||
//
|
||||
// // <meta property="fc:frame:button:1:action" content="post" />
|
||||
// frameproto.WriteFrameButton1Action(writer, frameproto.ButtonActionPost)
|
||||
//
|
||||
// And:
|
||||
//
|
||||
// // <meta property="fc:frame:button:1:action" content="post_redirect" />
|
||||
// frameproto.WriteFrameButton1Action(writer, frameproto.ButtonActionPostRedirect)
|
||||
func WriteFrameButton1Action(writer io.Writer, action string) {
|
||||
const property string = MetaPropertyFrameButton1Action
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
//
|
||||
// var buttonAction string = "post"
|
||||
//
|
||||
// frameproto.WriteFrameButton2Action(writer, aspectRatio)
|
||||
// frameproto.WriteFrameButton2Action(writer, buttonAction)
|
||||
//
|
||||
// Would write this HTML <meta/> element:
|
||||
//
|
||||
|
@ -21,18 +21,22 @@ import (
|
|||
//
|
||||
// Which in code would be used as:
|
||||
//
|
||||
// // <meta property="fc:frame:button:2:action" content="link" />
|
||||
// frameproto.WriteFrameButton2Action(writer, frameproto.ButtonActionLink)
|
||||
//
|
||||
// And:
|
||||
//
|
||||
// // <meta property="fc:frame:button:2:action" content="mint" />
|
||||
// frameproto.WriteFrameButton2Action(writer, frameproto.ButtonActionMint)
|
||||
//
|
||||
// And:
|
||||
//
|
||||
// // <meta property="fc:frame:button:2:action" content="post" />
|
||||
// frameproto.WriteFrameButton2Action(writer, frameproto.ButtonActionPost)
|
||||
//
|
||||
// And:
|
||||
//
|
||||
// // <meta property="fc:frame:button:2:action" content="post_redirect" />
|
||||
// frameproto.WriteFrameButton2Action(writer, frameproto.ButtonActionPostRedirect)
|
||||
func WriteFrameButton2Action(writer io.Writer, action string) {
|
||||
const property string = MetaPropertyFrameButton2Action
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
//
|
||||
// var buttonAction string = "post"
|
||||
//
|
||||
// frameproto.WriteFrameButton3Action(writer, aspectRatio)
|
||||
// frameproto.WriteFrameButton3Action(writer, buttonAction)
|
||||
//
|
||||
// Would write this HTML <meta/> element:
|
||||
//
|
||||
|
@ -21,18 +21,22 @@ import (
|
|||
//
|
||||
// Which in code would be used as:
|
||||
//
|
||||
// // <meta property="fc:frame:button:3:action" content="link" />
|
||||
// frameproto.WriteFrameButton3Action(writer, frameproto.ButtonActionLink)
|
||||
//
|
||||
// And:
|
||||
//
|
||||
// // <meta property="fc:frame:button:3:action" content="mint" />
|
||||
// frameproto.WriteFrameButton3Action(writer, frameproto.ButtonActionMint)
|
||||
//
|
||||
// And:
|
||||
//
|
||||
// // <meta property="fc:frame:button:3:action" content="post" />
|
||||
// frameproto.WriteFrameButton3Action(writer, frameproto.ButtonActionPost)
|
||||
//
|
||||
// And:
|
||||
//
|
||||
// // <meta property="fc:frame:button:3:action" content="post_redirect" />
|
||||
// frameproto.WriteFrameButton3Action(writer, frameproto.ButtonActionPostRedirect)
|
||||
func WriteFrameButton3Action(writer io.Writer, action string) {
|
||||
const property string = MetaPropertyFrameButton3Action
|
||||
|
|
|
@ -10,7 +10,7 @@ import (
|
|||
//
|
||||
// var buttonAction string = "post"
|
||||
//
|
||||
// frameproto.WriteFrameButton4Action(writer, aspectRatio)
|
||||
// frameproto.WriteFrameButton4Action(writer, buttonAction)
|
||||
//
|
||||
// Would write this HTML <meta/> element:
|
||||
//
|
||||
|
@ -21,18 +21,22 @@ import (
|
|||
//
|
||||
// Which in code would be used as:
|
||||
//
|
||||
// // <meta property="fc:frame:button:4:action" content="link" />
|
||||
// frameproto.WriteFrameButton4Action(writer, frameproto.ButtonActionLink)
|
||||
//
|
||||
// And:
|
||||
//
|
||||
// // <meta property="fc:frame:button:4:action" content="mint" />
|
||||
// frameproto.WriteFrameButton4Action(writer, frameproto.ButtonActionMint)
|
||||
//
|
||||
// And:
|
||||
//
|
||||
// // <meta property="fc:frame:button:4:action" content="post" />
|
||||
// frameproto.WriteFrameButton4Action(writer, frameproto.ButtonActionPost)
|
||||
//
|
||||
// And:
|
||||
//
|
||||
// // <meta property="fc:frame:button:4:action" content="post_redirect" />
|
||||
// frameproto.WriteFrameButton4Action(writer, frameproto.ButtonActionPostRedirect)
|
||||
func WriteFrameButton4Action(writer io.Writer, action string) {
|
||||
const property string = MetaPropertyFrameButton4Action
|
||||
|
|
Loading…
Reference in New Issue