Content pfp
Content
@
0 reply
4 recasts
4 reactions

jtgi pfp
jtgi
@jtgi
code snippet composer action coming along. – write code direct in the composer with triple backticks/periods - all language support + themes. submitted for approval
10 replies
8 recasts
111 reactions

Haole pfp
Haole
@haole
The get method didn't return meta data? Plan to try it in my app
1 reply
0 recast
0 reaction

jtgi pfp
jtgi
@jtgi
Can you rephrase? I don’t understand the question.
1 reply
0 recast
1 reaction

Haole pfp
Haole
@haole
See this, rn https://colorful.sh/api/action return error
2 replies
0 recast
0 reaction

jtgi pfp
jtgi
@jtgi
added now, cheers
2 replies
0 recast
1 reaction

Haole pfp
Haole
@haole
I tested this composer action in my app, which uses React Native WebView. It always results in an empty image after uploading. Maybe the WebView is missing some API to generate correct image. @horsefacts.eth Is there a way to test the composer action in Warpcast App?
1 reply
0 recast
0 reaction

jtgi pfp
jtgi
@jtgi
is there a way I can test it? if not, what's the image url being resolved after it returns the embeds? testing in warpcast: https://warpcast.com/~/developers/composer-actions?name=colorful&postUrl=https%3A%2F%2Fcolorful.sh%2Fapi%2Faction
1 reply
0 recast
0 reaction

Haole pfp
Haole
@haole
Yeah, it works great in warpcast playground. here is the request and response I tested: https://colorful.sh/format?state=%7B%22cast%22%3A%7B%22text%22%3A%22%60%60%60python%5Cnprint('hello%20world')%5Cn%60%60%60%22%2C%22embeds%22%3A%5B%5D%7D%7D {"type":"createCast","data":{"cast":{"text":"","embeds":["https://colorful.sh/uploads/d63b2e2c-6d68-4a8d-8ee9-a2d848512105.png"]}}} It may be my problem, so take your time, we can wait to test in warpcast app.
1 reply
0 recast
0 reaction

jtgi pfp
jtgi
@jtgi
yeah, i can't repro, if i load the url you shared direct it works.
2 replies
0 recast
1 reaction

jtgi pfp
jtgi
@jtgi
what browser?
1 reply
0 recast
0 reaction

Haole pfp
Haole
@haole
yeah, same, i will do some research on my end
0 reply
0 recast
0 reaction