- Enable the creation of frames that are statically hosted (accessible using HTTP GET vs HTTP POST).
- Keep it as simple as possible.
Add a new fc:frame:button:$idx:action
type, get
.
Modify the use of fc:frame:button:$idx:target
prop.
<meta property="fc:frame:button:1" content="Next slide" />
<meta property="fc:frame:button:1:action" content="get" />
<meta property="fc:frame:button:1:target" content="https://..../slide2.html" />
get
actions MUST use the https://
or http://
protocols.
Apps MUST validate that the target URL includes a protocol and ignore invalid targets.
Frames MUST specify both an action
and a target
property for the same button index if action type is get
.
Apps MUST reject frames with missing properties as malformed and fall back to the OpenGraph embed.
- Apps should present
get
buttons in the same way aspost
buttons.
When a get
button is clicked:
- The App uses
HTTP GET
to load the frame attarget
URL. get
actions do not contain any payload.
Some more thoughts:
post_url
does not have it.get_external
action that opens the URL in the browser. Ideal for "read more", "visit my site" buttons.