- 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
getbuttons in the same way aspostbuttons.
When a get button is clicked:
- The App uses
HTTP GETto load the frame attargetURL. getactions do not contain any payload.
Some more thoughts:
post_urldoes not have it.get_externalaction that opens the URL in the browser. Ideal for "read more", "visit my site" buttons.