Test Ayrshare's social media APIs using HURL scripts. Including testing posting images, videos, and getting analytics.
Learn more about how to run Hurl scripts.
Update the vars.env
with your keys.
- Add your API Key from the Ayrshare Dashboard
- If a Business Plan, add your Profile Key
- If a Business Plan and testing generateJWT endpoint add your private key as a Base64 string. Please see below.
- Add your email address
- Add your Ref Id
hurl --test --very-verbose --variables-file vars-dev.env analytics_social.hurl post_flow.hurl user.hurl
hurl --test --variables-file vars-dev.env analytics_social.hurl post_flow.hurl user.hurl
hurl --test --interactive --variables-file vars-prod.env post_video_flow.hurl
script.bash
cat private.key | base64