Content
@
https://warpcast.com/~/channel/frames
0 reply
4 recasts
4 reactions
Paul
@p4ulcristian
Can someone help me with fc:frame:state? The documentation is shallow, I don't get back the state in the request, only buttonIndex. Please be so kind and enlighten me :D
1 reply
0 recast
1 reaction
Mark Carey 🎩🫂
@markcarey
You should get a "state" element in the POST json body ..... BUT .... you won't get "state" on the *first* POST from your initial frame. Only on subsequent POSTs. Personally, I hope this changes in future. https://warpcast.com/markcarey/0x1b12ea2f
2 replies
0 recast
0 reaction
Paul
@p4ulcristian
I built a slider for images, so this is a subsequent post, but for me, it does not contain the state
0 reply
0 recast
0 reaction
Paul
@p4ulcristian
The problem is, I don't get it on subsequent frames either. Not getting a state is also a state, so I have no problem with that. To anyone having the same problem, use fc:button:1:action "link" and fc:button:1:target "https://something/:custom-parameter/:other-custom-parameter" .
1 reply
0 recast
0 reaction